Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Linking a textbox/control to another
Message
From
26/04/2000 19:20:21
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00363869
Message ID:
00363874
Views:
19
>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
Map
View

Click here to load this message in the networking platform