On Thursday 02 June 2016 21:48:32 Krzysztof wrote:
>
> Have question about main menu. See attached screenshot. I would like
> to move main menu bar into main toolbar (it is TSimpleWidget) so it
> will nicely integrate with it's gradient and UI will look more compact
> and fit. "Move into" is just expression. Since assigning mainmenu to
> mainform is moving Y coordinate, tried set tooblar Y to -10 and in
> tskincontroller.mainmenu.face added facecomp with color =
> cl_transparent but this trick doesn't work, any other color work. So I
> guess mainmenu widget has it's own window handle (like ttraywidget).
> Do not do any changes if it is not already possible. I have plenty
> ideas to solve this:
> 1. Since there are only 3 items, I can just add 3 flat buttons with
> popup menu and show it in OnExecute of left mouse button. Here is
> answer for your question why I need show popup on left click :)
> https://sourceforge.net/p/mseide-msegui/mailman/message/35100491/
> 2. I'm considering remove tmainmenu at all and replace it with one
> dedicated small button on left top corner which show "File", "Tools"
> and "Help" in popup. Just like Opera/FireFox/Chrome do or Android apps
>
TForm.MainMenu places its accompanying TMainMenuWidget in an area above the 
container area which clips the children. Please use a TMainMenuWidget from 
component palette 'Widget' instead of TForm.MainMenu, it can be placed where 
you want, for example as child of the toolbar.

> So I'm just asking if it is possible make tmainmenu transparent. If
> not then please don't bother with that

TMainMenuWidget.Color can be set to cl_transparent, see attachment.

Martin
------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
_______________________________________________
mseide-msegui-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk

Reply via email to