Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Set skip pad does not work
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Set skip pad does not work
Divers
Thread ID:
00200632
Message ID:
00200632
Vues:
39
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
Fil
Voir

Click here to load this message in the networking platform