Information générale
Catégorie:
Codage, syntaxe et commandes
Titre:
Set skip pad does not work
hello
I am using SET SKIP PAD to disable/enable an option in my menu. The print option is only available when the form called "quotemain" is active and premiums in page4 is available.
What I did was the followings:
1) is main.prg
if _screen.formcount > 0
if thisform.name <> "quoatemain"
set skip pad _printer of _msysmenu .t.
endif
endif
2) in the page4.active event
set skip pad _printer of _msysmenu .f.
this page will be enabled when the premiums are there.
I did a trace: #1 code ran and everthing works fine. printer option was disabled but nothing changed after the #2 code ran. Does anyone know what causes that ?? Thank you.
sherry
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement