Information générale
Catégorie:
Gestionnaire d'écran & Écrans
>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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement