Class tpopupmenuwidget
Unit
Declaration
type tpopupmenuwidget = class(tpopupwidget)
Description
No description available, ancestor tpopupwidget description follows
No description available, ancestor ttoplevelwidget description follows
No description available, ancestor tcustomeventwidget description follows
No description available, ancestor tcustomeventwidgetnwr description follows
No description available, ancestor tpublishedwidgetnwr description follows
No description available, ancestor tactionpublishedwidgetnwr description follows
No description available, ancestor tactionwidget description follows
No description available, ancestor twidget description follows
No description available, ancestor tactcomponent description follows
No description available, ancestor tmsecomponent description follows
Hierarchy
- TObject
- TPersistent
- tcomponent
- tmsecomponent
- tactcomponent
- twidget
- tactionwidget
- tactionpublishedwidgetnwr
- tpublishedwidgetnwr
- tcustomeventwidgetnwr
- tcustomeventwidget
- ttoplevelwidget
- tpopupwidget
- tpopupmenuwidget
Overview
Fields
flayout: menulayoutinfoty; |
|
flocalframeandface: boolean; |
Methods
procedure doafteractivate() override; |
|
procedure clientrectchanged; override; |
|
procedure objectevent(const sender: tobject; const event: objecteventty); override; |
|
function transientforwindoworwindow: twindow; |
|
function translatetoscreen(const value: pointty): pointty; virtual; |
|
procedure invalidatelayout(); |
|
procedure updatelayout; virtual; |
|
procedure nextpopupshowing; virtual; |
|
function isinpopuparea(const apos: pointty): boolean; virtual; |
|
function checkprevpopuparea(const apos: pointty): boolean; virtual; |
|
procedure activatemenu( const keymode,aclicked,nokeymodereset: boolean); virtual; |
|
procedure deactivatemenu; virtual; |
|
procedure selectmenu(const keymode: boolean; const keyreturn: boolean); virtual; |
|
function rootpopup: tpopupmenuwidget; |
|
procedure closepopupstack(aselecteditem: tmenuitem; const cancelmodal: boolean = false); |
|
procedure updatepos; virtual; |
|
procedure beginkeymode; |
|
procedure dopaintforeground(const canvas: tcanvas); override; |
|
procedure mouseevent(var info: mouseeventinfoty); override; |
|
procedure dokeydown(var info: keyeventinfoty); override; |
|
procedure childdeactivated(const sender: tpopupmenuwidget); virtual; |
|
procedure fontchanged; override; |
|
procedure internalcreateframe; override; |
|
function activateoptionset: boolean; |
|
procedure showhint(const aid: int32; var info: hintinfoty); override; |
|
function trycancelmodal(const newactive: twindow): boolean; override; |
|
procedure release1(const acancelmodal: boolean); virtual; |
|
class function classskininfo(): skininfoty; override; |
|
function getassistiveflags(): assistiveflagsty override; |
|
function getassistivecaption(): msestring override; |
|
function getassistivetext(): msestring override; |
|
function getassistivehint(): msestring override; |
|
function prevmenuitem(const info: menulayoutinfoty): integer; |
|
function nextmenuitem(const info: menulayoutinfoty): integer; |
|
procedure assistivemenuactivated(); |
|
constructor create(instance: ppopupmenuwidget; const amenu: tmenuitem; const atransientfor: twindow; const aowner: tcomponent = nil; const menucomp: tcustommenu = nil); overload; |
|
destructor destroy; override; |
|
procedure paint(const canvas: tcanvas); override; |
|
procedure menuchanged(const sender: tmenuitem); |
|
procedure release(const nomodaldefer: boolean=false); override; |
|
procedure updatetemplates; |
|
procedure assigntemplate(const source: menutemplatety); virtual; |
|
function showmenu(const aposrect: rectty; aposition: graphicdirectionty; aactivate: boolean): tmenuitem; |
Properties
property activeitem: integer read getactiveitem write setactiveitem; |
|
property optionswidget default defaultpopupmenuwidgetoptions; |
Description
Fields
flayout: menulayoutinfoty; |
|
flocalframeandface: boolean; |
|
Methods
procedure doafteractivate() override; |
|
procedure clientrectchanged; override; |
|
procedure objectevent(const sender: tobject; const event: objecteventty); override; |
|
function transientforwindoworwindow: twindow; |
|
function translatetoscreen(const value: pointty): pointty; virtual; |
|
procedure invalidatelayout(); |
|
procedure updatelayout; virtual; |
|
procedure nextpopupshowing; virtual; |
|
function isinpopuparea(const apos: pointty): boolean; virtual; |
|
function checkprevpopuparea(const apos: pointty): boolean; virtual; |
|
procedure activatemenu( const keymode,aclicked,nokeymodereset: boolean); virtual; |
|
procedure deactivatemenu; virtual; |
|
procedure selectmenu(const keymode: boolean; const keyreturn: boolean); virtual; |
|
function rootpopup: tpopupmenuwidget; |
|
procedure closepopupstack(aselecteditem: tmenuitem; const cancelmodal: boolean = false); |
|
procedure updatepos; virtual; |
|
procedure beginkeymode; |
|
procedure dopaintforeground(const canvas: tcanvas); override; |
|
procedure mouseevent(var info: mouseeventinfoty); override; |
|
procedure dokeydown(var info: keyeventinfoty); override; |
|
procedure childdeactivated(const sender: tpopupmenuwidget); virtual; |
|
procedure fontchanged; override; |
|
procedure internalcreateframe; override; |
|
function activateoptionset: boolean; |
|
procedure showhint(const aid: int32; var info: hintinfoty); override; |
|
function trycancelmodal(const newactive: twindow): boolean; override; |
|
procedure release1(const acancelmodal: boolean); virtual; |
|
class function classskininfo(): skininfoty; override; |
|
function getassistiveflags(): assistiveflagsty override; |
|
function getassistivecaption(): msestring override; |
|
function getassistivetext(): msestring override; |
|
function getassistivehint(): msestring override; |
|
function prevmenuitem(const info: menulayoutinfoty): integer; |
|
function nextmenuitem(const info: menulayoutinfoty): integer; |
|
procedure assistivemenuactivated(); |
|
constructor create(instance: ppopupmenuwidget; const amenu: tmenuitem; const atransientfor: twindow; const aowner: tcomponent = nil; const menucomp: tcustommenu = nil); overload; |
|
destructor destroy; override; |
|
procedure paint(const canvas: tcanvas); override; |
|
procedure menuchanged(const sender: tmenuitem); |
|
procedure release(const nomodaldefer: boolean=false); override; |
|
procedure updatetemplates; |
|
procedure assigntemplate(const source: menutemplatety); virtual; |
|
function showmenu(const aposrect: rectty; aposition: graphicdirectionty; aactivate: boolean): tmenuitem; |
|
Properties
property activeitem: integer read getactiveitem write setactiveitem; |
|
property optionswidget default defaultpopupmenuwidgetoptions; |
|
Generated by PasDoc 0.16.0.