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.
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.