Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
When SAVE is clicked
Message
De
13/09/2006 10:57:42
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
01153237
Message ID:
01153342
Vues:
16
This message has been marked as a message which has helped to the initial question of the thread.
>Hi folks,
>
>Using VFP9.0 I've created a form using the form wizard. It uses the standard text buttons. Now I need to call a method when the SAVE button is clicked. I have tried to put code in the Wizbtns.vcx(txtbtns) but then the buttons do not work properly.
>
>I need to know how to properly test the click event of the Save/Add/Edit buttons click to fire a method that finctions before the save is initiated.

You can also have your code in the button's .when(), and then if you don't want the button's .click() to execute, simply return .f. and it won't even get the focus. The trouble with this approach is that you also need to set .tabstop=.f., or else the .when() my fire when user tabs through controls.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform