Mattias Gaertner wrote: > On Wed, 08 Oct 2008 22:37:57 +0400 > Brad Campbell <[EMAIL PROTECTED]> wrote: > >> Mattias Gaertner wrote: >>> On Wed, 08 Oct 2008 21:10:38 +0400 >>> Brad Campbell <[EMAIL PROTECTED]> wrote: >>> >>>> G'day Guys, >>>> >>>> Is there a TTabControl or TPageControl style control I can use >>>> where I can assign a popupmenu to the actual tab area? Both >>>> TTabControl and TPageControl seem to give me a popup with the list >>>> of tab names there, but I can't get the user assigned popup menu >>>> to have any affect in that area. >>> It is a todo to add the popup menu to this gtk menu. >> Right, yes I just tested in on Win32 under Wine and it works >> perfectly. > > They have tabs in the popup menu?
Err, no.. I have a TTabControl on a form and when I assign a PopupMenu to it I get the menu whether I right-click on the client area, or the tab. GTK2 was giving me a list of tabs when I right-clicked on the tab but the PopupMenu when I right-clicked in the client area. With the patch attached to my other mail, GTK2 behaves the same as Win32. Regards, Brad -- Dolphins are so intelligent that within a few weeks they can train Americans to stand at the edge of the pool and throw them fish. _______________________________________________ Lazarus mailing list [email protected] http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
