I have designed a menu 'MAINMENU' and define the ALT key in [keypress] in
menu designer.
This menu will be called from a form 'MAIN',
The ALT key works while in the design time,
after that, I compile it to build an exe file, the ALT key doesn't work.
Inside the initial main.prg, I have several environment settings
and at last, there is as
do form MAIN
read events
and in the INIT event of form MAIN, the content is
do mainmenu.mpr with thisform, .t.
Below are some setting of the form MAIN
ShowWindow - 2-As Top-Level Form
WindowType - 0-Modeless
MDI Form - .f.
Please, can anyone give me a hand on this issue.
thanks lot
Edward