General information
Category:
Forms & Form designer
>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).
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only