Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Set skip pad does not work
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Set skip pad does not work
Miscellaneous
Thread ID:
00200632
Message ID:
00200632
Views:
40
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
Next
Reply
Map
View

Click here to load this message in the networking platform