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

Overview

Fields

Protected flayout: menulayoutinfoty;
Protected flocalframeandface: boolean;

Methods

Protected procedure doafteractivate() override;
Protected procedure clientrectchanged; override;
Protected procedure objectevent(const sender: tobject; const event: objecteventty); override;
Protected function transientforwindoworwindow: twindow;
Protected function translatetoscreen(const value: pointty): pointty; virtual;
Protected procedure invalidatelayout();
Protected procedure updatelayout; virtual;
Protected procedure nextpopupshowing; virtual;
Protected function isinpopuparea(const apos: pointty): boolean; virtual;
Protected function checkprevpopuparea(const apos: pointty): boolean; virtual;
Protected procedure activatemenu( const keymode,aclicked,nokeymodereset: boolean); virtual;
Protected procedure deactivatemenu; virtual;
Protected procedure selectmenu(const keymode: boolean; const keyreturn: boolean); virtual;
Protected function rootpopup: tpopupmenuwidget;
Protected procedure closepopupstack(aselecteditem: tmenuitem; const cancelmodal: boolean = false);
Protected procedure updatepos; virtual;
Protected procedure beginkeymode;
Protected procedure dopaintforeground(const canvas: tcanvas); override;
Protected procedure mouseevent(var info: mouseeventinfoty); override;
Protected procedure dokeydown(var info: keyeventinfoty); override;
Protected procedure childdeactivated(const sender: tpopupmenuwidget); virtual;
Protected procedure fontchanged; override;
Protected procedure internalcreateframe; override;
Protected function activateoptionset: boolean;
Protected procedure showhint(const aid: int32; var info: hintinfoty); override;
Protected function trycancelmodal(const newactive: twindow): boolean; override;
Protected procedure release1(const acancelmodal: boolean); virtual;
Protected class function classskininfo(): skininfoty; override;
Protected function getassistiveflags(): assistiveflagsty override;
Protected function getassistivecaption(): msestring override;
Protected function getassistivetext(): msestring override;
Protected function getassistivehint(): msestring override;
Protected function prevmenuitem(const info: menulayoutinfoty): integer;
Protected function nextmenuitem(const info: menulayoutinfoty): integer;
Protected procedure assistivemenuactivated();
Public constructor create(instance: ppopupmenuwidget; const amenu: tmenuitem; const atransientfor: twindow; const aowner: tcomponent = nil; const menucomp: tcustommenu = nil); overload;
Public destructor destroy; override;
Public procedure paint(const canvas: tcanvas); override;
Public procedure menuchanged(const sender: tmenuitem);
Public procedure release(const nomodaldefer: boolean=false); override;
Public procedure updatetemplates;
Public procedure assigntemplate(const source: menutemplatety); virtual;
Public function showmenu(const aposrect: rectty; aposition: graphicdirectionty; aactivate: boolean): tmenuitem;

Properties

Public property activeitem: integer read getactiveitem write setactiveitem;
Published property optionswidget default defaultpopupmenuwidgetoptions;

Description

Fields

Protected flayout: menulayoutinfoty;
 
Protected flocalframeandface: boolean;
 

Methods

Protected procedure doafteractivate() override;
 
Protected procedure clientrectchanged; override;
 
Protected procedure objectevent(const sender: tobject; const event: objecteventty); override;
 
Protected function transientforwindoworwindow: twindow;
 
Protected function translatetoscreen(const value: pointty): pointty; virtual;
 
Protected procedure invalidatelayout();
 
Protected procedure updatelayout; virtual;
 
Protected procedure nextpopupshowing; virtual;
 
Protected function isinpopuparea(const apos: pointty): boolean; virtual;
 
Protected function checkprevpopuparea(const apos: pointty): boolean; virtual;
 
Protected procedure activatemenu( const keymode,aclicked,nokeymodereset: boolean); virtual;
 
Protected procedure deactivatemenu; virtual;
 
Protected procedure selectmenu(const keymode: boolean; const keyreturn: boolean); virtual;
 
Protected function rootpopup: tpopupmenuwidget;
 
Protected procedure closepopupstack(aselecteditem: tmenuitem; const cancelmodal: boolean = false);
 
Protected procedure updatepos; virtual;
 
Protected procedure beginkeymode;
 
Protected procedure dopaintforeground(const canvas: tcanvas); override;
 
Protected procedure mouseevent(var info: mouseeventinfoty); override;
 
Protected procedure dokeydown(var info: keyeventinfoty); override;
 
Protected procedure childdeactivated(const sender: tpopupmenuwidget); virtual;
 
Protected procedure fontchanged; override;
 
Protected procedure internalcreateframe; override;
 
Protected function activateoptionset: boolean;
 
Protected procedure showhint(const aid: int32; var info: hintinfoty); override;
 
Protected function trycancelmodal(const newactive: twindow): boolean; override;
 
Protected procedure release1(const acancelmodal: boolean); virtual;
 
Protected class function classskininfo(): skininfoty; override;
 
Protected function getassistiveflags(): assistiveflagsty override;
 
Protected function getassistivecaption(): msestring override;
 
Protected function getassistivetext(): msestring override;
 
Protected function getassistivehint(): msestring override;
 
Protected function prevmenuitem(const info: menulayoutinfoty): integer;
 
Protected function nextmenuitem(const info: menulayoutinfoty): integer;
 
Protected procedure assistivemenuactivated();
 
Public constructor create(instance: ppopupmenuwidget; const amenu: tmenuitem; const atransientfor: twindow; const aowner: tcomponent = nil; const menucomp: tcustommenu = nil); overload;
 
Public destructor destroy; override;
 
Public procedure paint(const canvas: tcanvas); override;
 
Public procedure menuchanged(const sender: tmenuitem);
 
Public procedure release(const nomodaldefer: boolean=false); override;
 
Public procedure updatetemplates;
 
Public procedure assigntemplate(const source: menutemplatety); virtual;
 
Public function showmenu(const aposrect: rectty; aposition: graphicdirectionty; aactivate: boolean): tmenuitem;
 

Properties

Public property activeitem: integer read getactiveitem write setactiveitem;
 
Published property optionswidget default defaultpopupmenuwidgetoptions;
 

Generated by PasDoc 0.16.0.