Information générale
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Network:
Windows 2003 Server
>The Controlsource of a textbox gets updated after its Valid fires. It's true for "table.field" also.
>
before valid
>>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).
>>
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement