Unit 'msemenuwidgets' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#msegui]

tmainmenuwidget

[Properties (by Name)] [Methods (by Name)]

Widget which looks and works like the main menu of a form, but can be placed anywhere, as many times as needed

Declaration

Source position: msemenuwidgets.pas line 211

type tmainmenuwidget = class(tcustommainmenuwidget)

public

  constructor create(); override;

  destructor destroy; override;

  procedure initnewcomponent(); override;

published

  property menu: twidgetmainmenu; [rw]

  property options: mainmenuwidgetoptionsty; [rw]

  property popupdirection: graphicdirectionty; [rw]

end;

Inheritance

tmainmenuwidget

  

Widget which looks and works like the main menu of a form, but can be placed anywhere, as many times as needed

|

tcustommainmenuwidget

|

tpopupmenuwidget

|

tpopupwidget

|

ttoplevelwidget

|

tcustomeventwidget

|

tcustomeventwidgetnwr

|

tpublishedwidgetnwr

|

tactionpublishedwidgetnwr

|

tactionwidget

|

twidget

|

tactcomponent,iscrollframe,iface,iassistiveclient

|

tmsecomponent,iactivatorclient

  

Extends the FPC tcomponent with object linking facilities and the like; base of every MSEgui component

|

tcomponent,ievent,iificommand,iificlient

|

tpersistent

|

TObject

Description

Widget which looks and works like the main menu of a form, but can be placed anywhere, as many times as needed (e.g. in a toolbar area or a docked panel). Its items are defined in menu; mwo_vertical in options shows them vertically, and popupdirection sets where the submenus open.


Documentation generated on: 2026-10-03