Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Linking a textbox/control to another
Message
De
26/04/2000 19:20:21
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00363869
Message ID:
00363874
Vues:
18
>I have a two texboxs, ie: texbox1 width 79, and texbox2 is located five pixels to the right of texbox1. Cause texbox1 is of variable width depending some cincunstances (done in is init), how do you set that texbox2 is always five point right to texbox1 without depending texbox1?

In the same place you give Textbox1 a new hieght, something like:

thisform.text2.left = 5 + thisform.text1.Left + thisform.text2.width

Or, put that in an Assign method for textbox1's left and width (of course it would have to be a class then).
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform