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 derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to temp. remove menu from app

Status
Not open for further replies.

Nifrabar

Programmer
Mar 16, 2003
1,343
NL
Hi!

In main module I do have just before the read events command :
DO mainmenu.mpr
The mainmenu has been created in the projectmanager.

Q:
Is there a way to hide this menu from the screen and restore later on?
I tried : push menu hoofdmenu.
Than error "menu has not been defined with DEFINE MENU" pops up.
Any idea how to achieve my goal?

-Bart
 
Mike,
I tried but both none of these solutions (allthough according help-file this should do) removed menu from screen.
-Bart
 
Soluation seems to be:
Set Sysmenu to
I only don't know if there is left some in memory of mainmenu.mpr
I do know that I can recall mainmenu by its native call:
do mainmenu.mpr
-Bart
 
You want to PUSH MENU _MSYSMENU, then hide it.

To restore it, POP MENU _MSYSMENU and SET SYSMENU TO _MSYSMENU (I think).
 
I think Dan's right.

I must say I don't like using menus in VFP. I used to use them all the time, but found the syntax totally non-intuitive. In my last couple of apps, I've got rid of them, and use various types of toolbars instead. Users seem to prefer this too.

Mike

__________________________________
Mike Lewis (Edinburgh, Scotland)

Visual FoxPro tips, advice, training, consultancy
Custom software for your business
 
Dan,
Thanks for feedback. Will give that a try.

Mike,
My clients don't like menu's either. Instead they prefer normal commandbuttons on the desktop.
I have done that for other app's as well.
Than I use options in horizontal graphic's style. All those options are almost identical to the normal-menu bars.
Than by clicking an option the commandbuttons will be visible and have each same function as the menubar-items.
In click-code of those buttons I have a case-endcase to determine what module to run based upon selection from opt.buttons.

Now I want to create kind of toggle switch to toggle between this 'switchboard' and the normal menu.
For that reason I started this thread to find out how to hide the normal menu.

-Bart
 
Haven't been following much in the Office forums, have you Mike? Users are STILL kvetching about losing menus in Office 2007.

They have their place. ;-)
 
Users are STILL kvetching about losing menus in Office 2007.

I did hear some whispers to that effect.

But I wonder if the problem is not so much the loss of menus, but what replaced it: a crowded and over-burdened toolbar.

In my last two big apps, I used a much-simplified version of the Office 2007 ribbon bar. My users have all been happy with it. But that might be partly because I consulted them first, and let them play with prototypes. Unlike a certain software vendor which just foists a new interface on its customers, whether they want it or not.

Mike

__________________________________
Mike Lewis (Edinburgh, Scotland)

Visual FoxPro tips, advice, training, consultancy
Custom software for your business
 
I actually like the ribbon, but I'm far from a power user (in the U/I, anyway).

The thing that users don't like is a new paradigm when they have an old and comfy one that works well for them.

But that large-ish software company in the Pacific northwest does have a habit of throwing away time-tested and user-comfortable things, eh?
 
Craig,

No, I don't believe that. I know that Microsoft put a considerable effort into usability testing. I have visited their usability labs at Redmond. They have a vast operation there, and it's most impressive

And yet, I'm constantly hearing complaints about the Office 2007 ribbon and the demise of the menus.

I can only suppose that the vast majority of users prefer the new interface, but have no reason to make their views known.

I've certainly had good feedback from my own users when I've delivered apps with a ribbon-style of interface rather than traditional menus (although my ribbon is a lot simpler than the one in Office).

Mike

__________________________________
Mike Lewis (Edinburgh, Scotland)

Visual FoxPro tips, advice, training, consultancy
Custom software for your business
 
For what it's worth:
Up to now I have met nobody who is happy with the 2007-menu-style. Instead it withhold people to step into 2007.
-Bart
 
I've met many people who don't like the ribbon, but once I start asking them about it, the reasons don't really hold up. I hear things like:

- I'm less productive
- I can't find anything any more
- I was perfectly happy with the old way. Why did they have to change it?

But when I talk to the same people after they've used it for a while, they really like it. I was less productive with Office 2007 at first, but now I find I'm more productive with it.

The change was made to be able to surface *existing* functionality. 80% of enhancement requests that Microsoft got were for features already in the products. That meant the old menu system was too complicated and difficult to use.

Bottom line, people don't like it because in general, people don't like change. But people usually adapt and learn the new thing and find out it's not so bad after all.




Craig Berntson
MCSD, Visual FoxPro MVP,
 
Craig,

A perfect solution should have been if Microsoft made a toggleswitch available same as with themes "Winodws XP" versus "Windows Classic".
That way there can be no complaints against provided alterations/changes as the desired interface is still there.
They also did so for the menu's before; menu's which did not show all items versus 'full menu'.

-Bart
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top