15 maj 2006 kl. 05.46 skrev Dr Gerard Hammond:
Hi,
I need to have a popup menu on a window that allows hierarchical
popup menus (RB55)
I don't think I can use a RB PopupMenu because it doesn't do
hierarchical sub-menus, nor does it allow me to intercept the click
before the menu is popped up (or does it?)
I know I can use HeirPop as it allows hierarchical popup menus and
works on Win32 and MacOS 9 and X.
I need something on the dialog for a User to click to get the
hierarchical popup menus.
I don't want to invent a new widget. It can't surprise/confuse my
users. They are busy people and they know what a popup menu looks
like and does.
So I thought I would draw an OS theme aware PopupMenu in a canvas
and handle the HierPop hierarchical Popup menus there.
That is fine but how do I paint the OS theme aware image of the
Popup into the Canvas in RB code?
--
Cheers,
I do that in one program of mine, but I simply use a standard popup
as background. I populate the HierPop in the mousedown event of the
popup and the change the text in the popup to the choosen result and
then returns true in the event. It's a bit slow, but it works.
Best,
Peter Karlsson
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>