Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
AddObject
Message
From
15/08/2001 09:56:10
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00544040
Message ID:
00544052
Views:
16
>Why does the caption only display the first four characters when adding a label dynamicly? When I hard coded (as a test) a string of 20 characters for the caption only the first four displayed. It has got to be something simple.
>lnWidth = LEN(lcText)

Width is in pixels, not characters. Use AutoSize for the simplest way to get your label the right size, or you can mess aruond with TxtWidth() and similar functions.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform