Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Want to set the value of this.controlsource = this.value
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00144183
Message ID:
00144221
Vues:
35
Brenda,

I don't use toolbars, but I think the standard way of dealing with this is to _screen.ActiveControl.SetFocus() first thing in the toolbar buttons. This will cause the Valid to fire so the ControlSource gets updated.

>doing a work around for validating from the cmdsave on the toolbar. because i call lastcontrol.valid myself, the controlsource is not updated with the value. want to update the controlsource with the value generically. do not want to change all my valid code, since it all references the controlsource now.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform