Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Determining the width of a label control
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Determining the width of a label control
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Divers
Thread ID:
01329988
Message ID:
01329988
Vues:
49
If I allow the user to change the caption for a label control on a form, it would be nice to move the textbox to the right of it so that the label control does not overwrite it (or get overwritten by the textbox). Unfortunately, the width property does not reset if you change the caption (I have tried techniques to get it to reevaluate the width, but what I have tried so far is not working). Can I do this with a combination of fontmetric, txtwidth, or whatever? Probably can - there's always a way with VFP.

Russell Campbell
eCost.com continues to rip people off
Check their rating at ResellerRatings.com
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform