Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Same keycodes for different keystokes??
Message
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00349761
Message ID:
00350087
Views:
32
> I'm very glad, that it works, however, my idea is different. Instead of using this code in KeyPress event of your 'manager' form, I proposed the idea of creating menu on the fly. For example, when you're in VFP environment and open a program to modify, the menu Format appears. If you open a table, menu Table appears and so on. So, I assume, it's standard Windows behavior and a good UI practice. Therefore I believe, we can do the same for our custom class ToolBar. E.g. the first instance of ToolBar will instanciate a menu 'Navigate'. I don't know all details in implementation, but I saw several samples, which came with VFP.

> Of course, if your application doesn't use menu at all, you still can keep your idea...

Nadya,

All my apps, uses a menu driven from a DBF (where I store all the options, security fields,...) I'm not in the way to show to the users a Table Menu, A Edit menu, a Format... no... I have tons of things to put in my menu to confuse more my users, that's my oppinion. My users knows of accounting, billing, nothing of standard windows.

Anyway I think is not very hard to implement, is harderd than my way cause you must sinchronize the toolbar with the menu, but not much more, maybe Craig can tell more.
Pablo Roca
Clavo Congelados, S.A. (La Coruna - Spain)
Sysop of PortalFox

Join MasFoxPro campaign
http://www.masfoxpro.com
Previous
Reply
Map
View

Click here to load this message in the networking platform