Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Label problem 2 CR/NL is bad support ( BUG ?)
Message
 
 
To
03/08/2003 15:08:39
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00816327
Message ID:
00816342
Views:
22
Hi Fabio,

It looks like a bug to me but I doubt it'll be ever corrected. You would be better off working around it.

>Hi,
>
>if i set:
>
>
>Label.Caption = 'Riga 1'+CHR(13)+'Riga 2'
>
>
>label support multiline Caption.
>
>Well.
>
>If i set
>
>AutoSize = .T.
>and
>WordWrap = .T.
>
>
>i have no problem.
>
>But if i set
>
>AutoSize = .T.
>and
>WordWrap = .F.
>
>
>Caption Autosize internal code compute special CHR(13) char like any other
>character, and resize Label on single line with width to fit all Caption string on one line, but Caption internal code use CHR(13) like a special caracter and show Caption on two line;
>result : second line is hidden.
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform