Tamar,
thank you for your reply.
No DisplayPath() wouldn't help.
-Eclipsis always in the middle
-Maxlenght is in chars, I have pixels (...) only
Agnes
>>Hi All,
>>
>>I have a problem with captions on a check box (or with anything with a caption)
>>
>>The object is off fixed length (Autosize=.f., WordWrap=.F.), but the caption may be altered by user input (user may change field captions). Now sometimes the caption is to long. I would like to do something like clipping as the report does. For now I see nothing then running backwards through the string until it fits (via TXTWIDTH) , but that feels so clumsy.
>>
>>Any better ideas?
>
>Would the DisplayPath() function help?
>
>Tamar
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord
Weeks of programming can save you hours of planning.
OffThere is no place like [::1]