Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to add a new action
Message
From
15/01/2005 17:48:53
 
General information
Forum:
Visual FoxPro
Category:
CodeMine
Miscellaneous
Thread ID:
00977507
Message ID:
00977510
Views:
17
Hi John,

Is the following a typo?
This.oStateManager.SetValue("Form SaveAs", .T.)
If you are trying to set a value to this action, you need to use the correct action name which, in this case, appears to be :-
This.oStateManager.SetValue("Form Edit SaveAs", .T.)
FWIW, you have this "difference" specified twice in your sample code (see your DefineAction call). You need to ensure you are using the correct action name throughout your declaration and subsequent references to it.

If this isn't the problem, try SET STEP ON in the form's IsEnabled method and see if there is any confusion caused when the method name is passed to test for the enabled/disabled state.

HTH.
-=Gary
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform