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--