Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Linking a textbox/control to another
Message
De
26/04/2000 23:18:14
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00363869
Message ID:
00363972
Vues:
17
>>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform