Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
CmdToolActionButtonSave on Form
Message
De
13/08/2005 18:45:06
 
 
À
13/08/2005 17:06:37
Information générale
Forum:
Visual FoxPro
Catégorie:
CodeMine
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01040729
Message ID:
01040739
Vues:
14
Hi Terry,

This is a longshot but first, check that the lRefreshInForm property on the button is set True - this is the default so it should be.

If you have set the cWorkArea property of the button to the correct workarea, then it should be OK. As it is obviously not, then I would suggest that in the Refresh event code on the button, you should do as follows :-
SET STEP ON
RETURN DODEFAULT()
Then, run the form and step through the refresh code logic and see why the button's lEnabled property is being set False.

HTH

-=Gary




>I created a form with a table in the data environment and I have a grid where I allow data entry. All of that works fine with the toolbar. I decided I needed to put a button on the form that would allow me to click and save the data when I choose to instead of moving to the toolbar. I dropped a cmdtoolactionbuttonsave on the form. It is never enabled even when I change data or put new data in. What am I missing? TIA. I did try setting cworkarea to the table to no avail.
-=Gary
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform