Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

menu items invisible

Status
Not open for further replies.

ChrisAgius

Programmer
Sep 27, 2000
51
MT
I have a menu added to my project. I have created with the menu builder not with the define menu. This menu have 3 submenus. I need to have that one item of the menu will become completely invisible not disabled with (SKIP FOR = .T.)

Thanks A lot
 
Hi!

Search for commands like 'SET SKIP'. There are such commands for menus. You will require to know the exact names/numbers of your menus and menu bars, so you will require to have a "fixed" version of your menu. Make it from start, generate MPR file, than rename "*.MPR to "*.PRG" and use it as a program in your project. Explore MPR file for names of your menus and other things. You can also learn how to make menus manually using that file as a sample ;-)


Vlad Grynchyshyn
vgryn@softserve.lviv.ua
The professional level of programmer could be determined by level of stupidity of his/her bugs
 
When you create using the 'menu builder',
Against the prompt for which you want to skip for .t., select by clicking the optin, a new window 'Prompt Option' will open. In the place holder against 'Skip For' put the code .T.

Rebuild the menu and run. Your problem will be solved ! :) ramani :-9
(Subramanian.G)
FoxAcc
ramani_g@yahoo.com
 
Simply create two menus - firstmen with all submenu,
"save as" secmen, reduce it and after start appropriate
do first/secmen.
 
Salut!

You can use Ken Levy's genMenuX . It will hack your
.MPR and add some great functions like a condition
on one Menu option. You can download genmenux for free from (search for genmenux)

It'll work with 2.6 and VFP.

Ciao
Nro
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top