Class tcustomtoolbar

Unit

Declaration

type tcustomtoolbar = class(tcustomstepbox, istatfile, iframe)

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 flayout: toolbarlayoutinfoty;

Methods

Protected class function classskininfo: skininfoty; override;
Protected procedure buttonchanged(sender: tcustomtoolbutton);
Protected procedure checkvert(const asize: sizety);
Protected function getseparatorwidth(): integer;
Protected procedure getautopaintsize(var asize: sizety); override;
Protected procedure updatelayout;
Protected procedure clientrectchanged; override;
Protected procedure dopaintforeground(const canvas: tcanvas); override;
Protected procedure clientmouseevent(var info: mouseeventinfoty); override;
Protected procedure showhint(const aid: int32; var info: hintinfoty); override;
Protected function dostep(const event: stepkindty; const adelta: real; ashiftstate: shiftstatesty): boolean; override;
Protected procedure doshortcut(var info: keyeventinfoty; const sender: twidget); override;
Protected procedure objectchanged(const sender: tobject); override;
Protected function getassistivehint(): msestring; override;
Protected procedure dostatread(const reader: tstatreader); virtual;
Protected procedure dostatwrite(const writer: tstatwriter); virtual;
Protected procedure statreading;
Protected procedure statread;
Protected function getstatvarname: msestring;
Protected function getstatpriority: integer;
Public constructor create(aowner: tcomponent); override;
Public destructor destroy; override;
Public procedure dragevent(var info: draginfoty); override;
Public procedure beginupdate;
Public procedure endupdate;
Public function buttonatpos(const apos: pointty; const enabledonly: boolean = false): tcustomtoolbutton;

Properties

Public property buttons: ttoolbuttons read flayout.buttons write setbuttons;
Public property firstbutton: integer read ffirstbutton write setfirstbutton default 0;
Public property options: toolbaroptionsty read foptions write setoptions default [];
Public property statfile: tstatfile read fstatfile write setstatfile;
Public property statvarname: msestring read getstatvarname write fstatvarname;
Public property statpriority: integer read fstatpriority write fstatpriority default 0;
Public property onbuttonchanged: toolbuttoneventty read fonbuttonchanged write fonbuttonchanged;
Public property drag: tdragcontroller read fdragcontroller write setdragcontroller;

Description

Fields

Protected flayout: toolbarlayoutinfoty;

This item has no description.

Methods

Protected class function classskininfo: skininfoty; override;

This item has no description.

Protected procedure buttonchanged(sender: tcustomtoolbutton);

This item has no description.

Protected procedure checkvert(const asize: sizety);

This item has no description.

Protected function getseparatorwidth(): integer;

This item has no description.

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

This item has no description.

Protected procedure updatelayout;

This item has no description.

Protected procedure clientrectchanged; override;

This item has no description.

Protected procedure dopaintforeground(const canvas: tcanvas); override;

This item has no description.

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

This item has no description.

Protected procedure showhint(const aid: int32; var info: hintinfoty); override;

This item has no description.

Protected function dostep(const event: stepkindty; const adelta: real; ashiftstate: shiftstatesty): 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 objectchanged(const sender: tobject); override;

This item has no description.

Protected function getassistivehint(): msestring; override;

This item has no description.

Protected procedure dostatread(const reader: tstatreader); virtual;

This item has no description.

Protected procedure dostatwrite(const writer: tstatwriter); virtual;

This item has no description.

Protected procedure statreading;

This item has no description.

Protected procedure statread;

This item has no description.

Protected function getstatvarname: msestring;

This item has no description.

Protected function getstatpriority: integer;

This item has no description.

Public constructor create(aowner: tcomponent); override;

This item has no description.

Public destructor destroy; override;

This item has no description.

Public procedure dragevent(var info: draginfoty); override;

This item has no description.

Public procedure beginupdate;

This item has no description.

Public procedure endupdate;

This item has no description.

Public function buttonatpos(const apos: pointty; const enabledonly: boolean = false): tcustomtoolbutton;

This item has no description.

Properties

Public property buttons: ttoolbuttons read flayout.buttons write setbuttons;

This item has no description.

Public property firstbutton: integer read ffirstbutton write setfirstbutton default 0;

This item has no description.

Public property options: toolbaroptionsty read foptions write setoptions default [];

This item has no description.

Public property statfile: tstatfile read fstatfile write setstatfile;

This item has no description.

Public property statvarname: msestring read getstatvarname write fstatvarname;

This item has no description.

Public property statpriority: integer read fstatpriority write fstatpriority default 0;

This item has no description.

Public property onbuttonchanged: toolbuttoneventty read fonbuttonchanged write fonbuttonchanged;

This item has no description.

Public property drag: tdragcontroller read fdragcontroller write setdragcontroller;

This item has no description.


Generated by PasDoc 1.0.4.