Hi,
Can someone please help with using a keyboard{}action to select a menu option, both at startup and when my forms are released.
When my application starts, my custom menu is shown, but it is greyed out.
In the menu setup procedure I have the code
and this menu pad is shown as being selected, but greyed out. If I click anywhere on the VFP screen the menu becomes available, but my menu pad no longer is selected.
This is the same behaviour when I release my forms. It seems to be in a wait state but not sure as to why?
In my app object I call the menu as follows:
Thanks in advance
Sue
Can someone please help with using a keyboard{}action to select a menu option, both at startup and when my forms are released.
When my application starts, my custom menu is shown, but it is greyed out.
In the menu setup procedure I have the code
Code:
keyboard '{CTRL + B}'
This is the same behaviour when I release my forms. It seems to be in a wait state but not sure as to why?
In my app object I call the menu as follows:
Code:
DO (this.cMainMenu)
DO WHILE .T.
*-- Start the event loop
READ EVENTS
*- We do cleanup here, if a grid has the focus.
IF THIS.Cleanup()
THIS.Cleanup2
EXIT
ENDIF
ENDDO
Thanks in advance
Sue