General information
Category:
Coding, syntax & commands
Title:
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
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only