Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to add a new action
Message
De
15/01/2005 17:48:53
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
CodeMine
Divers
Thread ID:
00977507
Message ID:
00977510
Vues:
19
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform