Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Label problem 2 CR/NL is bad support ( BUG ?)
Message
 
 
À
03/08/2003 15:08:39
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00816327
Message ID:
00816342
Vues:
23
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--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform