Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

menu items are not enable

222 views
Skip to first unread message

Alur

unread,
Jun 20, 2005, 6:35:10 AM6/20/05
to
When I run Visual FoxPro everything is normal, but
when I run the executable file the menu bars are not enable.
Menu bars were created by menu designer with the help of inserting
into submenu bars.
Menu Designer→Submenu→Insert bar→we select
one of the following :
Exit - _mfi_quit,
similarly Cut, Copy, Paste, Undo, Redo, Send, Print Options and so on.
In main prg I wrote SET SYSMENU TO.
Could you tell me the method to solve this?

Fred Taylor

unread,
Jun 20, 2005, 10:49:40 AM6/20/05
to
What version of the OS is this? If this is W95, or WinNT, I don't think you
can run either version VFP8 or VFP9 on those operating systems.

--
Fred
Microsoft Visual FoxPro MVP


"Alur" <Al...@discussions.microsoft.com> wrote in message
news:447D56E7-2275-46CD...@microsoft.com...


> When I run Visual FoxPro everything is normal, but
> when I run the executable file the menu bars are not enable.
> Menu bars were created by menu designer with the help of inserting
> into submenu bars.

> Menu Designer?Submenu?Insert bar?we select

Dan Freeman

unread,
Jun 20, 2005, 11:18:24 AM6/20/05
to
In a runtime EXE, the native QUIT menu command will always be disabled.
Change its resultl to "Command" and give it a command(s) to execute.

Cut, Copy, and Paste will only be enabled when you're in a field (etc.)
where editing is possible.

Are you saying ALL of your menu options are disabled?

Dan

Alur wrote:
> When I run Visual FoxPro everything is normal, but
> when I run the executable file the menu bars are not enable.
> Menu bars were created by menu designer with the help of inserting
> into submenu bars.

> Menu Designer?Submenu?Insert bar?we select

Alur

unread,
Jun 20, 2005, 10:31:02 PM6/20/05
to
Thank you.
'Send' is not enable too. And could you explain in detail "Change its
resultl to "Command" and give it a command(s) to execute."

Alur

unread,
Jun 20, 2005, 10:29:03 PM6/20/05
to
WXP and I use VFP6.

Fred Taylor

unread,
Jun 20, 2005, 11:10:55 PM6/20/05
to
Do you have SP5 for VFP6 installed?

If you do a simple .EXE file with only a SET SYSMENU ON using the standard
menu, does that work? Did you use the menu designer, or did you try to
build a menu yourself using the command language syntax?

--
Fred
Microsoft Visual FoxPro MVP


"Alur" <Al...@discussions.microsoft.com> wrote in message

news:FE3569BC-9F28-4C8E...@microsoft.com...

Alur

unread,
Jul 10, 2005, 12:05:03 AM7/10/05
to
Thank you.
SP5 for VFP6 had been installed.
If I do a simple .EXE file with only a SET SYSMENU ON using the standart
menu it does not work. I used the menu designer.

Fred Taylor

unread,
Jul 10, 2005, 7:04:46 AM7/10/05
to
VFP6/SP5 should work fine with and version of a Windows OS (W9x or above).

Do you have a READ EVENTS somewhere in your code? You need that so that
your menu will take over and the code will wait at the READ EVENTS. Then
you need a CLEAR EVENTS somewhere in one of your menu options to get past
the READ EVENTS so your app can close.

--
Fred
Microsoft Visual FoxPro MVP


"Alur" <Al...@discussions.microsoft.com> wrote in message

news:30C497B0-EEBA-4D10...@microsoft.com...

Alur

unread,
Jul 29, 2005, 11:25:02 PM7/29/05
to
Thank you.
I have READ EVENTS and CLEAR EVENTS.

Alur

unread,
Jul 29, 2005, 11:34:02 PM7/29/05
to
Thank you.
Not all of menu options are disabled, but almost all.
For example cut, copy, paste are enabled when the situation is acceptable.
The others are not.
Could you tell me why the "send"(it is used to send mail using internet) is
enabled inside VFP, but after
running exe it's not enabled ?

Fred Taylor

unread,
Jul 30, 2005, 2:41:59 PM7/30/05
to
Are you using a Modal Form? Modal forms require activating your menu after
the form is instanciated in order to work while the modal form is active.

--
Fred
Microsoft Visual FoxPro MVP


"Alur" <Al...@discussions.microsoft.com> wrote in message

news:5FE70FB2-8241-481A...@microsoft.com...

Alur

unread,
Aug 9, 2005, 2:50:38 AM8/9/05
to
Thank you.
Yes, I'm using a Modal Form.
So, what should I do ?

Fred Taylor

unread,
Aug 9, 2005, 9:32:59 PM8/9/05
to
You can call your menu program from the form.Paint event:

*form.Paint
DO yourmenu.mpr

--
Fred
Microsoft Visual FoxPro MVP


"Alur" <Al...@discussions.microsoft.com> wrote in message

news:E18EB0D1-7197-45A2...@microsoft.com...

Alur

unread,
Aug 29, 2005, 12:45:05 PM8/29/05
to
Thank you.

khan@discussions.microsoft.com Areeb khan

unread,
Oct 27, 2007, 12:08:00 AM10/27/07
to
HYe ! me ali from pakistan i percheased my lap-top pc from france its
language in frwnch i want its language what i do for changing its menu
lenguage pleaze help me
0 new messages