Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Label problem 2 CR/NL is bad support ( BUG ?)
Message
From
03/08/2003 15:08:39
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Label problem 2 CR/NL is bad support ( BUG ?)
Miscellaneous
Thread ID:
00816327
Message ID:
00816327
Views:
57
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.
Next
Reply
Map
View

Click here to load this message in the networking platform