On Thursday 31 March 2016 18:59:19 Krzysztof wrote: > Hi Martin, > > Is there any container widget which show only one widget at same time? > Something like LCL TNotebook (or Qt QStackedWidget). > In fact, in my > Lazarus app I don't use TNotebook but simply TPanel with runtime code: > Control.ManualDock(Panel, nil, alClient). > > I guess that in MSEgui I can simply drop TSimpleWidget or TEventWidget > as major container and add aligned subcontrols as "views" and play > with Show/Hide on them. Just wondering if MSEgui has something > dedicated. > Use a TTabWidget as container and insert TTabPage as children. Activate TTabWidget.tab_options tabo_notabs in order to hide the tabs at runtime.
> BTW: What is equivalent for Qt QWidget? I mean basic totally > transparent widget without decorations, borders, background as base > for visual descendants? In LCL it is TGraphicControl and > TCustomControl. > In MSEgui it is TWidget. MSEgui does not distinguish between widgets which can have children (Delphi TCustomControl) and simple graphic elements (Delphi TGraphicControl). TWidget can have children and has the properties Frame (TFrame) and Face (TFace) and therfore full decoration support. TWidget.Frame and Twidget.Face need a single nil-pointer resource only if disabled. In order to make it transparent set TWidget.Color to cl_transparent. http://wiki.freepascal.org/MSEide_%26_MSEgui#Architecture_overview Martin ------------------------------------------------------------------------------ Transform Data into Opportunity. Accelerate data analysis in your applications with Intel Data Analytics Acceleration Library. Click to learn more. http://pubads.g.doubleclick.net/gampad/clk?id=278785471&iu=/4140 _______________________________________________ mseide-msegui-talk mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk

