Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Use the & command
Message
From
08/01/1999 10:13:21
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
07/01/1999 09:32:20
Vincenzo Longobardi
Cisco Consulting Srl
Rome, Italy
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00171075
Message ID:
00174009
Views:
70
>Hi Dragan,
>I have a little question for you.
>How can i resize a field when i know only his lenght?
>If my field is lenght 5 what value i put in .Widht=?
>Thanks

You can always do something like this:

this.width=thisform.txtwidth(this.text)

Provided your control and your form use the same font (size, name, bold, itlaic etc). You can temporarily set your form's font attributes to be the same as your control, and restore them afterwards.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform