Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CmdToolActionButtonSave on Form
Message
From
13/08/2005 18:45:06
 
 
To
13/08/2005 17:06:37
General information
Forum:
Visual FoxPro
Category:
CodeMine
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01040729
Message ID:
01040739
Views:
15
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform