Watch, Follow, &
Connect with Us
Public Report
Report From: Delphi-BCB/VCL/Standard Controls/TLabel    [ Add a report in this area ]  
Report #:  103046   Status: Closed
TLabel Component bug in Delphi XE2 at Caption property accept only two letter
Project:  Delphi Build #:  16.0.4358.45540
Version:    16.3 Submitted By:   Aysen Deger
Report Type:  Minor failure / Design problem Date Reported:  1/31/2012 11:03:39 AM
Severity:    Infrequently encountered problem Last Updated: 5/5/2012 6:58:22 AM
Platform:    All versions Internal Tracking #:   289809
Resolution: Test Case Error (Resolution Comments) Resolved in Build: : None
Duplicate of:  None
Voting and Rating
Overall Rating: No Ratings Yet
0.00 out of 5
Total Votes: None
Description
TLabel Component have a little bug at Caption. Caption accepts only 2 letter in Delphi XE2 Update 3.
So we can't write text in caption.Please give us a solution as soon as possible.

Windows Vista 32bit Home Premium SP 2
System locale is Turkish.

Added by Sysop
<<<<<<
Please see [Comments] of QC for more information.
>>>>>>
Steps to Reproduce:
Firstly I dropped a TLabel component to my from
then  I tried to write "Hello" at Caption property by using object inspector at design time.
But only two letter was accepted ("He").
But in run time I can programaticly write evrything .
Workarounds
None
Attachment
Projects.zip
Comments

Tomohiro Takahashi at 1/31/2012 4:52:39 PM -
> ... RAD XE update 4.
Are you a beta tester of Delphi XE2 Update 4?

Aysen Deger at 2/1/2012 5:33:28 AM -
I have Delphi 4 Update

Tomohiro Takahashi at 2/2/2012 1:31:00 AM -
> TLabel Component bug in RAD XE2
> ...
> ... only 2 letter in RAD XE update 4.
> ...
> I have Delphi 4 Update
What is 'Delphi 4 Update'?
What Build No of Delphi do you use, for example Delphi XE2 Update 3(16.0.4358.45540)?

and, could you please provide more detailed [Steps] and attach simple sample project to reproduce your isse?

Aysen Deger at 2/2/2012 3:30:44 PM -
I cannot attach my project.

Firstly I dropped a TLabel component to my from then  I tried to write "Hello" at Caption property by using object inspector at design time. Bu only two letter was accepted ("He"). But in run time I can programaticly write evrything .

Tomohiro Takahashi at 2/2/2012 5:48:24 PM -
Have you already installed any 3rd-party plugin?

Aysen Deger at 2/3/2012 6:43:23 AM -
No I haven't installed anyplug in to Delphi. But I have lots party of 3-rd Componenets. I've attached a sample project.

Tomohiro Takahashi at 2/3/2012 7:56:23 PM -
What OS do you use, for example Windows 7 64bit?
and, what system locale do you use?

Aysen Deger at 2/4/2012 3:26:45 PM -
Windows vista 32bit home premium Service pack 2
and Turkish

Tomohiro Takahashi at 2/5/2012 7:22:44 PM -
ok,
Does your issue occur only with TLabel?
What about other components(e.g., TEdit, etc...)?

Aysen Deger at 2/6/2012 7:18:01 AM -
There isn't any problem at Tedit etc. Also  captions of Tpanels or  tradiogroups  etc works true.

but I have 3rd part comp  Rxlabel (I think it is driven from tlabel ). It has same problem.
I notice that when I open "String List editor" of TLabel.caption, Line number is 1 insted of 0.

Salvador Jover at 4/25/2012 4:15:10 PM -
Hey Aysen, please, you can unnistall RX and you will see its works fine.

You can see RxHintProp.pas. GetEditLimit function always return 2 with XE2.

RX overrides the property editor for Caption in TLabel class. (RxCtlReg.pas)

Line 528  RegisterPropertyEditor(TypeInfo(TCaption), TLabel, 'Caption', THintProperty);

You can comment this line.

Today we have commented it in Delphi Solidario Facebook for Spanish people.
https://www.facebook.com/groups/delphisolidario/

Best regards

Tomohiro Takahashi at 4/25/2012 6:27:39 PM -
Salvador-san
Thanks for the information. I updated internal status of this report.

Tomohiro Takahashi at 2/2/2012 5:45:53 PM -
Please use Windows Native QC Client to attach a .zip file to your existing report.
The standalone client comes with Delphi.

Aysen Deger at 2/2/2012 3:17:47 PM -
sorry I wrote wrong update number.

I have  Delphi XE2 Update 3 and Embarcadero RAD Studio XE2 Version 16.0.4358.45540

Tomohiro Takahashi at 2/2/2012 5:46:44 PM -
Ok, I corrected fields of this report as Sysop.

Sascha Willems at 5/4/2012 1:08:09 AM -
We're encountering the same problem here at work.

OS          : Windows 7 64-Bit
Target      : Windows 32 Bit
Delphi XE 2 : 16.0.4429.46931 (Update 4)
Locale      : German

It also affects TLabel.Caption editor window, but even worse, sometimes you can't type any letters at all.

Tested with several projects, even a new VCL project.

For testing I disabled all keyboard-related plugins, but no change.

Sascha Willems at 5/4/2012 1:31:47 AM -
Note : I did comment out the line 528 in RxCtlReg, recompiled the rx Packages and installed them again, now it works as expected again.

Server Response from: ETNACODE01