>In OutLook or Word you can drag off the menu and it becomes a menu bar. It looks just like a toolbar but with a menu on it. I want to try to do this in my applications. I am working with VFP 5.0 and the only way I can think of doing this is with a top level Form and adding the menu to it and making it look like a toolbar. The problem is that then I would have to trap for dock and undock ect. This is possible or am I missing an easy way of doing this?
Chuck,
I would probably use a toolbar with pseudo-menus composed of various listboxes. The toolbar already has the docking/undocking behavior you describe -- which would be tiresome to reproduce in a form. Also toolbars do not get focus -- your toplevel form would, which could cause all kinds of problems.
You can populate a listbox with a popup/bar menu so that it looks just like a menu. Search the UT on the keyword "popup", there is a lot of information on it, primarily from Christof Lange.
I have used his method and it really works well.
Good luck. Sounds pretty ambitious.
regards,
Jim Edgar
Jurix Data Corporation
jmedgar@yahoo.comNo trees were destroyed in sending this message. However, a large number of electrons were diverted from their ordinary activities and terribly inconvenienced.