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 when running the exe file.

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

Re: ALT key can't open menu when running exe by Dan

Dan
Mon Dec 01 11:44:49 CST 2003

What's the key combination? Have you used something that's reserved by the
system? Is another menu definition coming along later that clobbers your
definition?

Dan

"Edward" <ycip2000@yahoo.com.hk> wrote in message
news:04ba01c3b7d7$1ad31a80$a501280a@phx.gbl...
> 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 when running the exe file.
>
> 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
>