Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Yousfi Benameur
  Where is Yousfi Benameur?
 El Bayadh
 Algeria
 Yousfi Benameur
 To: Leonard Trevor
  Where is Leonard Trevor?
 Edinburgh
 United Kingdom
 Leonard Trevor
 Tags
Subject: RE: menu options some not appearing
Thread ID: 311126 Message ID: 311195 # Views: 41 # Ratings: 0
Version: Visual FoxPro 6 Category: Menus
Date: Wednesday, June 29, 2011 3:54:23 PM         
   


> Dearvexpert,
>
> The menu options listing displays up to a certain number, the rest don't appear.
>
> How do you rectify this problem?
>
>
>
> Thanks

i dont experiment what you said anywhere.try this menu its contains submenu with >=20 items.
local afile
afile=(addbs(sys(2023))+"mymenu.mpr")
set safe off
set textmerge on  to (afile) noshow
text

SET SYSMENU TO
SET SYSMENU AUTOMATIC

DEFINE PAD _3950q8j8p OF _MSYSMENU PROMPT "azerty0" COLOR SCHEME 3 ;
	KEY ALT+A, ""
DEFINE PAD _3950q8j8q OF _MSYSMENU PROMPT "bzerty" COLOR SCHEME 3 ;
	KEY ALT+B, ""
DEFINE PAD _3950q8j8r OF _MSYSMENU PROMPT "czerty" COLOR SCHEME 3 ;
	KEY ALT+C, ""
ON PAD _3950q8j8p OF _MSYSMENU ACTIVATE POPUP azerty0
ON SELECTION PAD _3950q8j8q OF _MSYSMENU getfile()
ON SELECTION PAD _3950q8j8r OF _MSYSMENU ;
	DO _3950q8j8s ;
	IN LOCFILE("ASUPM" ,"MPX;MPR|FXP;PRG" ,"WHERE is ASUPM?")

DEFINE POPUP azerty0 MARGIN RELATIVE SHADOW COLOR SCHEME 4
DEFINE BAR 1 OF azerty0 PROMPT "1"
DEFINE BAR 2 OF azerty0 PROMPT "2"
DEFINE BAR 3 OF azerty0 PROMPT "3"
DEFINE BAR 4 OF azerty0 PROMPT "4"
DEFINE BAR 5 OF azerty0 PROMPT "5"
DEFINE BAR 6 OF azerty0 PROMPT "6"
DEFINE BAR 7 OF azerty0 PROMPT "7"
DEFINE BAR 8 OF azerty0 PROMPT "8"
DEFINE BAR 9 OF azerty0 PROMPT "9"
DEFINE BAR 10 OF azerty0 PROMPT "10"
DEFINE BAR 11 OF azerty0 PROMPT "11"
DEFINE BAR 12 OF azerty0 PROMPT "12"
DEFINE BAR 13 OF azerty0 PROMPT "13"
DEFINE BAR 14 OF azerty0 PROMPT "14"
DEFINE BAR 15 OF azerty0 PROMPT "15"
DEFINE BAR 16 OF azerty0 PROMPT "16"
DEFINE BAR 17 OF azerty0 PROMPT "17"
DEFINE BAR 18 OF azerty0 PROMPT "18"
DEFINE BAR 19 OF azerty0 PROMPT "19"
DEFINE BAR 20 OF azerty0 PROMPT "20"
ON BAR 1 OF azerty0 ACTIVATE POPUP _3950q805x
ON BAR 20 OF azerty0 ACTIVATE POPUP _3950poxlf

DEFINE POPUP _3950q805x MARGIN RELATIVE SHADOW COLOR SCHEME 4
DEFINE BAR 1 OF _3950q805x PROMPT "1"
DEFINE BAR 2 OF _3950q805x PROMPT "2"
DEFINE BAR 3 OF _3950q805x PROMPT "3"
DEFINE BAR 4 OF _3950q805x PROMPT "4"
DEFINE BAR 5 OF _3950q805x PROMPT "5"
DEFINE BAR 6 OF _3950q805x PROMPT "6"
DEFINE BAR 7 OF _3950q805x PROMPT "7"
DEFINE BAR 8 OF _3950q805x PROMPT "8"
DEFINE BAR 9 OF _3950q805x PROMPT "9"
DEFINE BAR 10 OF _3950q805x PROMPT "10"
DEFINE BAR 11 OF _3950q805x PROMPT "11"
DEFINE BAR 12 OF _3950q805x PROMPT "12"
DEFINE BAR 13 OF _3950q805x PROMPT "13"
DEFINE BAR 14 OF _3950q805x PROMPT "14"
DEFINE BAR 15 OF _3950q805x PROMPT "15"
DEFINE BAR 16 OF _3950q805x PROMPT "16"
DEFINE BAR 17 OF _3950q805x PROMPT "17"
DEFINE BAR 18 OF _3950q805x PROMPT "18"
DEFINE BAR 19 OF _3950q805x PROMPT "19"
DEFINE BAR 20 OF _3950q805x PROMPT "20"
DEFINE BAR 21 OF _3950q805x PROMPT "21"

DEFINE POPUP _3950poxlf MARGIN RELATIVE SHADOW COLOR SCHEME 4
DEFINE BAR 1 OF _3950poxlf PROMPT "1"
DEFINE BAR 2 OF _3950poxlf PROMPT "2"
DEFINE BAR 3 OF _3950poxlf PROMPT "3"
DEFINE BAR 4 OF _3950poxlf PROMPT "4"
DEFINE BAR 5 OF _3950poxlf PROMPT "5"
DEFINE BAR 6 OF _3950poxlf PROMPT "6"
DEFINE BAR 7 OF _3950poxlf PROMPT "7"
DEFINE BAR 8 OF _3950poxlf PROMPT "8"
DEFINE BAR 9 OF _3950poxlf PROMPT "9"
DEFINE BAR 10 OF _3950poxlf PROMPT "10"
DEFINE BAR 11 OF _3950poxlf PROMPT "11"
DEFINE BAR 12 OF _3950poxlf PROMPT "12"
DEFINE BAR 13 OF _3950poxlf PROMPT "13"
DEFINE BAR 14 OF _3950poxlf PROMPT "14"
DEFINE BAR 15 OF _3950poxlf PROMPT "15"
DEFINE BAR 16 OF _3950poxlf PROMPT "16"
DEFINE BAR 17 OF _3950poxlf PROMPT "17"
DEFINE BAR 18 OF _3950poxlf PROMPT "18"
DEFINE BAR 19 OF _3950poxlf PROMPT "19"
DEFINE BAR 20 OF _3950poxlf PROMPT "20"
ON SELECTION BAR 1 OF _3950poxlf *
ON SELECTION BAR 2 OF _3950poxlf *
ON SELECTION BAR 3 OF _3950poxlf *
ON SELECTION BAR 4 OF _3950poxlf *
ON SELECTION BAR 5 OF _3950poxlf *


PROCEDURE _3950q8j8s
**
endtext
set textmerge to
do (afile)
set safe on


when you run the code you see your menu in replacement of vfp menu.
to retablish native vfp menu issue on command window:
set sysmenu to defa


also verify your code in mpr file or use the designer to build it ,its better

Regards
Yousfi Benameur

ENTIRE THREAD

menu options some not appearing Posted by Leonard Trevor @ 6/28/2011 11:40:25 PM
RE: menu options some not appearing Posted by Mike Gagnon @ 6/28/2011 11:54:31 PM
RE: menu options some not appearing Posted by Leonard Trevor @ 6/29/2011 1:27:32 AM
RE: menu options some not appearing Posted by Mike Gagnon @ 6/29/2011 1:29:46 PM
RE: menu options some not appearing Posted by Yousfi Benameur @ 6/29/2011 3:54:23 PM