Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Textbox control bound to a variable
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Textbox control bound to a variable
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01111211
Message ID:
01111211
Vues:
60
Maybe simple, maybe not...

I have a slight thorn in my side on this.

I have a textbox control with a controlSource pointing to a variable... Typically no problem. However, it only gets updated when you tab or enter out of the field... Try this for example

Create a form. Put a label and a textbox control on it. In the INIT of the FORM do the following


This.text1.ControlSource = "Thisform.label1.Caption"

run the form. I would think that as you type in the textbox, that it would be updating the variable at the same time. If you have a textbox control set to a "table.field", the field gets updated immediately. Start typing in the textbox control, only when you hit tab or enter does it update the labels caption (which the caption would be equivalent to a variable anyhow).

Any ideas???

Thanks
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform