Class tcustommainmenuwidget

Unit

Declaration

type tcustommainmenuwidget = class(tpopupmenuwidget)

Description

This item has no description. Showing description inherited from tmsecomponent.

Extends the FPC tcomponent with object linking facilities and the like; base of every MSEgui component. This unit, mseclasses, must be added to uses after classes in code that also uses a third-party unit expecting the plain FPC tcomponent (e.g. TPSScript.Create(TComponent)), since MSEgui forks the FPC classes unit.

Hierarchy

Overview

Fields

Protected foptions: mainmenuwidgetoptionsty;

Methods

Protected procedure restorefocus;
Protected function checkprevpopuparea(const apos: pointty): boolean; override;
Protected procedure nextpopupshowing; override;
Protected procedure getautopaintsize(var asize: sizety); override;
Protected procedure updatelayout; override;
Protected procedure updatepos; override;
Protected function isinpopuparea(const apos: pointty): boolean; override;
Protected procedure doshortcut(var info: keyeventinfoty; const sender: twidget); override;
Protected procedure childdeactivated(const sender: tpopupmenuwidget); override;
Protected procedure activatemenu( const keymode,aclicked,nokeymodereset: boolean); override;
Protected procedure deactivatemenu; override;
Protected procedure selectmenu(const keymode: boolean; const keyreturn: boolean); override;
Protected procedure internalcreateframe; override;
Protected procedure loaded; override;
Protected procedure mouseevent(var info: mouseeventinfoty); override;
Protected procedure release1(const acancelmodal: boolean); override;

Description

Fields

Protected foptions: mainmenuwidgetoptionsty;

This item has no description.

Methods

Protected procedure restorefocus;

This item has no description.

Protected function checkprevpopuparea(const apos: pointty): boolean; override;

This item has no description.

Protected procedure nextpopupshowing; override;

This item has no description.

Protected procedure getautopaintsize(var asize: sizety); override;

This item has no description.

Protected procedure updatelayout; override;

This item has no description.

Protected procedure updatepos; override;

This item has no description.

Protected function isinpopuparea(const apos: pointty): boolean; override;

This item has no description.

Protected procedure doshortcut(var info: keyeventinfoty; const sender: twidget); override;

This item has no description. Showing description inherited from twidget.doshortcut.

Simplified key event propagation: an unhandled key first goes through dokeydown of the focused widget, then of its parents (dokeydown of the parent is called with es_child set). If still unhandled, doshortcut is tried: siblings and children first, then (unless ow_nochildshortcut is set) the parent widget — a widget with ow_noparentshortcut ignores a call coming from its parent. If no widget handled it, the window's own doshortcut first checks tcustomactions with ao_localshortcut set whose owner is an ancestor of the widget that received the key; if still unhandled and tws_localshortcuts is not set on the window, application.checkshortcut calls doshortcut of all windows, and then of all actions with ao_globalshortcut set. Finally, unhandled navigation keys are processed by dokeydownaftershortcut, again propagated to parents. Recursion is avoided by always calling top-down.

Protected procedure childdeactivated(const sender: tpopupmenuwidget); override;

This item has no description.

Protected procedure activatemenu( const keymode,aclicked,nokeymodereset: boolean); override;

This item has no description.

Protected procedure deactivatemenu; override;

This item has no description.

Protected procedure selectmenu(const keymode: boolean; const keyreturn: boolean); override;

This item has no description.

Protected procedure internalcreateframe; override;

This item has no description.

Protected procedure loaded; override;

This item has no description.

Protected procedure mouseevent(var info: mouseeventinfoty); override;

This item has no description.

Protected procedure release1(const acancelmodal: boolean); override;

This item has no description.


Generated by PasDoc 1.0.4.