Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Use the & command
Message
De
08/01/1999 10:13:21
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
07/01/1999 09:32:20
Vincenzo Longobardi
Cisco Consulting Srl
Rome, Italie
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00171075
Message ID:
00174009
Vues:
71
>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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform