I think I'm going nuts
I have created a menu, its called WINB18 I can see the 4 files (mnx,mnt, mpr and mpx)
If I issue the command, DO WINB18.MPR, all options on the menu work just fine But, if I load the menu from my MAIN.prg, the menu shows, BUT the only options that fire are those setup as a Procedure. All the options listed under the Submenu are greyed out
I've gone to another application I have developed and all is fine with those menus It's only with this one, a new system under development.
For the life of me, I can't see what's different. Can anyone help?
Sytze The main menu is usualy called in the init of your mainform and not from your main.prg Regards Koen
Op dinsdag 12 juli 2016 heeft Sytze de Boer sytze.kiss@gmail.com het volgende geschreven:
I think I'm going nuts
I have created a menu, its called WINB18 I can see the 4 files (mnx,mnt, mpr and mpx)
If I issue the command, DO WINB18.MPR, all options on the menu work just fine But, if I load the menu from my MAIN.prg, the menu shows, BUT the only options that fire are those setup as a Procedure. All the options listed under the Submenu are greyed out
I've gone to another application I have developed and all is fine with those menus It's only with this one, a new system under development.
For the life of me, I can't see what's different. Can anyone help?
-- Kind regards, Sytze de Boer
--- StripMime Report -- processed MIME parts --- multipart/alternative text/plain (text body -- kept) text/html
[excessive quoting removed by server]
Hi Koen, thanks for trying to assist. My main form does indeed have the DO WINB18.MPR in the Init
On Tue, Jul 12, 2016 at 8:03 PM, Koen Piller koen.piller@gmail.com wrote:
Sytze The main menu is usualy called in the init of your mainform and not from your main.prg Regards Koen
Op dinsdag 12 juli 2016 heeft Sytze de Boer sytze.kiss@gmail.com het volgende geschreven:
I think I'm going nuts
I have created a menu, its called WINB18 I can see the 4 files (mnx,mnt, mpr and mpx)
If I issue the command, DO WINB18.MPR, all options on the menu work just fine But, if I load the menu from my MAIN.prg, the menu shows, BUT the only options that fire are those setup as a Procedure. All the options listed under the Submenu are greyed out
I've gone to another application I have developed and all is fine with those menus It's only with this one, a new system under development.
For the life of me, I can't see what's different. Can anyone help?
-- Kind regards, Sytze de Boer
--- StripMime Report -- processed MIME parts --- multipart/alternative text/plain (text body -- kept) text/html
[excessive quoting removed by server]
Sytze,
The correct, full syntax is:
Do mainmenu.mpr With This, .T.
where mainmenu is to be replaced with your mainmenu name
Regards,
P.S. If that is like that, than upload a. your mainmenu.mpr b. your mainform.scx + mainform.sct
2016-07-12 10:46 GMT+02:00 Sytze de Boer sytze.kiss@gmail.com:
Hi Koen, thanks for trying to assist. My main form does indeed have the DO WINB18.MPR in the Init
On Tue, Jul 12, 2016 at 8:03 PM, Koen Piller koen.piller@gmail.com wrote:
Sytze The main menu is usualy called in the init of your mainform and not from your main.prg Regards Koen
Op dinsdag 12 juli 2016 heeft Sytze de Boer sytze.kiss@gmail.com het volgende geschreven:
I think I'm going nuts
I have created a menu, its called WINB18 I can see the 4 files (mnx,mnt, mpr and mpx)
If I issue the command, DO WINB18.MPR, all options on the menu work
just
fine But, if I load the menu from my MAIN.prg, the menu shows, BUT the only options that fire are those setup as a Procedure. All the options listed under the Submenu are greyed out
I've gone to another application I have developed and all is fine with those menus It's only with this one, a new system under development.
For the life of me, I can't see what's different. Can anyone help?
-- Kind regards, Sytze de Boer
--- StripMime Report -- processed MIME parts --- multipart/alternative text/plain (text body -- kept) text/html
[excessive quoting removed by server]
Just a thought, have you inadvertently SET SKIP OF anywhere?
Laurie
On 12 July 2016 at 10:17, Koen Piller koen.piller@gmail.com wrote:
Sytze,
The correct, full syntax is:
Do mainmenu.mpr With This, .T.
where mainmenu is to be replaced with your mainmenu name
Regards,
P.S. If that is like that, than upload a. your mainmenu.mpr b. your mainform.scx + mainform.sct
2016-07-12 10:46 GMT+02:00 Sytze de Boer sytze.kiss@gmail.com:
Hi Koen, thanks for trying to assist. My main form does indeed have the DO WINB18.MPR in the Init
On Tue, Jul 12, 2016 at 8:03 PM, Koen Piller koen.piller@gmail.com wrote:
Sytze The main menu is usualy called in the init of your mainform and not
from
your main.prg Regards Koen
Op dinsdag 12 juli 2016 heeft Sytze de Boer sytze.kiss@gmail.com het volgende geschreven:
I think I'm going nuts
I have created a menu, its called WINB18 I can see the 4 files (mnx,mnt, mpr and mpx)
If I issue the command, DO WINB18.MPR, all options on the menu work
just
fine But, if I load the menu from my MAIN.prg, the menu shows, BUT the
only
options that fire are those setup as a Procedure. All the options listed under the Submenu are greyed out
I've gone to another application I have developed and all is fine
with
those menus It's only with this one, a new system under development.
For the life of me, I can't see what's different. Can anyone help?
-- Kind regards, Sytze de Boer
--- StripMime Report -- processed MIME parts --- multipart/alternative text/plain (text body -- kept) text/html
[excessive quoting removed by server]
In my apps I don't have a "main" form. I call the menu.mpr in the main prg. No problems. Sytze, have you tried regenerating the menu (in case something went wrong)?
Laurie
On 12 July 2016 at 09:03, Koen Piller koen.piller@gmail.com wrote:
Sytze The main menu is usualy called in the init of your mainform and not from your main.prg Regards Koen
Op dinsdag 12 juli 2016 heeft Sytze de Boer sytze.kiss@gmail.com het volgende geschreven:
I think I'm going nuts
I have created a menu, its called WINB18 I can see the 4 files (mnx,mnt, mpr and mpx)
If I issue the command, DO WINB18.MPR, all options on the menu work just fine But, if I load the menu from my MAIN.prg, the menu shows, BUT the only options that fire are those setup as a Procedure. All the options listed under the Submenu are greyed out
I've gone to another application I have developed and all is fine with those menus It's only with this one, a new system under development.
For the life of me, I can't see what's different. Can anyone help?
-- Kind regards, Sytze de Boer
--- StripMime Report -- processed MIME parts --- multipart/alternative text/plain (text body -- kept) text/html
[excessive quoting removed by server]
Thank you all for trying to help me. Recap the problem. All sub menus of my mainmenu were greyed out, but not any procedures
All problems solved when I noticed my mainform was set to modal I think I wasted 4 hours on this. The project budget is 176 hours so I should be ok.
Thank you again.
On Tue, Jul 12, 2016 at 10:53 PM, Laurie Alvey trukker41@gmail.com wrote:
In my apps I don't have a "main" form. I call the menu.mpr in the main prg. No problems. Sytze, have you tried regenerating the menu (in case something went wrong)?
Laurie
On 12 July 2016 at 09:03, Koen Piller koen.piller@gmail.com wrote:
Sytze The main menu is usualy called in the init of your mainform and not from your main.prg Regards Koen
Op dinsdag 12 juli 2016 heeft Sytze de Boer sytze.kiss@gmail.com het volgende geschreven:
I think I'm going nuts
I have created a menu, its called WINB18 I can see the 4 files (mnx,mnt, mpr and mpx)
If I issue the command, DO WINB18.MPR, all options on the menu work
just
fine But, if I load the menu from my MAIN.prg, the menu shows, BUT the only options that fire are those setup as a Procedure. All the options listed under the Submenu are greyed out
I've gone to another application I have developed and all is fine with those menus It's only with this one, a new system under development.
For the life of me, I can't see what's different. Can anyone help?
-- Kind regards, Sytze de Boer
--- StripMime Report -- processed MIME parts --- multipart/alternative text/plain (text body -- kept) text/html
[excessive quoting removed by server]
On 2016-07-12 06:53, Laurie Alvey wrote:
In my apps I don't have a "main" form. I call the menu.mpr in the main prg. No problems. Sytze, have you tried regenerating the menu (in case something went wrong)?
Laurie
That's how I do it as well, followed by the READ EVENTS.