Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

VFP menu skip for option

Status
Not open for further replies.

pikjuo

Programmer
Dec 12, 2000
12
LT
I use a Menu bar in a top level form of VFP. I am having .mpr file.
In the ACTIVATE event i wrote do MENU.mpr with thisform,.f. I want disable some of the Menu items when i am running some forms.

I place in the menu [skip for] box variable _MENU_SKIP
When _MENU_SKIP=.F. the menu option is available.

I call child form from top form with Command button Click method :
_MENU_SKIP= .T.
DO FORM childform & & menu is disabled, but after clicking on menu from childform,
& & menu is activated
_MENU_SKIP = .F.

After removing last line from Click method ( MENU_SKIP = .F.) menu is full disabled when childform is running.

Any suggestion, where can i place _ MENU_SKIP = .F.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top