Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Linking a textbox/control to another
Message
From
26/04/2000 23:18:14
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00363869
Message ID:
00363972
Views:
19
>>If you make the LinkControl property hold the object reference (just this.LinkControl = thisform.TextBox1) then you would just do:
>>this.Left = this.LinkControl.Left + this.LinkControl.Width + this.LinkLeft
>
>No, Fred don't works, I think I must do with some evaluate, cause LinkControl even you set = thisform.cs_txt1 I get a Char "thisform.cs_txt1"

OK, now I get it, you're setting it in the properties window.

You could do it this way then:

LOCAL oLink
oLink = EVALUATE(this.LinkControl)
this.Left = oLink.Left + oLink.Width + this.LinkLeft
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform