Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Funny user behavior with text box.
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
CodeMine
Divers
Thread ID:
00894846
Message ID:
00894957
Vues:
6
Hi Larry:

>In the code for the interactivechange event of the checkbox, I've got:
>
>THISFORM.txtBoxFoo.VALUE='3'

Whilst I would be more inclined to actually do a CM "replace" on the data source for your text box, the problem here appears to be that you are only setting the textbox's value using vanilla VFP <s>. With the CM enhanced binding, you really need to set a control's value using the control's SetValue() method (see CM help). This ensures that the value gets written to the control's datasource.

HTH
-=Gary
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform