On Sep 24, 2006, at 12:39 PM, Karen wrote:

Is there a standard Xplatform mechanism to display palette MenuItems in RB?

What i mean i say I want a submenu to be a palette... How could I display a window containing a pallet that would appear at the right time and right place with the right behavior?

If not would it make sense to a new Pallet control much like a container control or a toolbar control with the appropriate events that we could assign to a MenuItem to let RB display it?

HI Karen,

I've been doing this to emulate tear-off menus in X11 on OS X. It should work right for a palette window as well.

I create a Windows class that is an Application Floating Window
I add enough BevelButtons to handle my largest tear-off (palette)
I create a New instance of the window with the proper number of Bevelbutton controls visible and populate the captions with the menu items
I then size the new window to fit only the visible bevelbuttons

Tim
--
Tim Jones                                       [EMAIL PROTECTED]




_______________________________________________
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>

Reply via email to