Class tcustomtabbar

Unit

Declaration

type tcustomtabbar = class(tcustomstepbox)

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 fstate: tabbarstatesty;
Protected foptions: tabbaroptionsty;

Methods

Protected class function classskininfo: skininfoty; override;
Protected function dostep(const event: stepkindty; const adelta: real; ashiftstate: shiftstatesty): boolean; override;
Protected procedure doactivetabchanged;
Protected procedure tabchanged(const sender: ttab);
Protected procedure tabclicked(const sender: ttab; const info: mouseeventinfoty);
Protected procedure enabledchanged; override;
Protected procedure loaded; override;
Protected procedure dopaintforeground(const canvas: tcanvas); override;
Protected procedure clientmouseevent(var info: mouseeventinfoty); override;
Protected procedure statechanged; override;
Protected procedure fontchanged; override;
Protected procedure doshortcut(var info: keyeventinfoty; const sender: twidget); override;
Protected procedure clientrectchanged; override;
Protected procedure getautopaintsize(var asize: sizety); override;
Protected procedure objectevent(const sender: tobject; const event: objecteventty); override;
Protected procedure dokeydown(var info: keyeventinfoty); override;
Protected function upstep(const norotate: boolean): boolean;
Protected function downstep(const norotate: boolean): boolean;
Protected function getassistivecaption(): msestring; override;
Protected function getassistivehint(): msestring; override;
Public constructor create(aowner: tcomponent); override;
Public destructor destroy; override;
Public procedure synctofontheight; override;
Public procedure beginupdate;
Public procedure endupdate;
Public function tabatpos(const apos: pointty; const enabledonly: boolean = false): integer;
Public procedure movetab(curindex,newindex: integer);
Public function activetag: integer;
Public procedure dragevent(var info: draginfoty); override;

Properties

Public property activetab: integer read getactivetab write setactivetab;
Public property tabs: ttabs read flayoutinfo.tabs write settabs;
Public property firsttab: integer read flayoutinfo.firsttab write setfirsttab default 0;
Public property onactivetabchange: notifyeventty read fonactivetabchange write fonactivetabchange;
Public property font: twidgetfont read getfont write setfont stored isfontstored;
Public property options: tabbaroptionsty read foptions write setoptions default [];
Public property ontabmoving: movingeventty read fontabmoving write fontabmoving;
Public property ontabmoved: movedeventty read fontabmoved write fontabmoved;
Public property onclientmouseevent: mouseeventty read fonclientmouseevent write fonclientmouseevent;
Published property optionswidget default defaultoptionswidgettab;
Published property optionswidget1 default defaultoptionswidget1tab;

Description

Fields

Protected fstate: tabbarstatesty;

This item has no description.

Protected foptions: tabbaroptionsty;

This item has no description.

Methods

Protected class function classskininfo: skininfoty; 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 doactivetabchanged;

This item has no description.

Protected procedure tabchanged(const sender: ttab);

This item has no description.

Protected procedure tabclicked(const sender: ttab; const info: mouseeventinfoty);

This item has no description.

Protected procedure enabledchanged; override;

This item has no description.

Protected procedure loaded; 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 statechanged; override;

This item has no description.

Protected procedure fontchanged; 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 clientrectchanged; override;

This item has no description.

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

This item has no description.

Protected procedure objectevent(const sender: tobject; const event: objecteventty); override;

This item has no description.

Protected procedure dokeydown(var info: keyeventinfoty); override;

This item has no description.

Protected function upstep(const norotate: boolean): boolean;

This item has no description.

Protected function downstep(const norotate: boolean): boolean;

This item has no description.

Protected function getassistivecaption(): msestring; override;

This item has no description.

Protected function getassistivehint(): msestring; override;

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 synctofontheight; override;

This item has no description.

Public procedure beginupdate;

This item has no description.

Public procedure endupdate;

This item has no description.

Public function tabatpos(const apos: pointty; const enabledonly: boolean = false): integer;

This item has no description.

Public procedure movetab(curindex,newindex: integer);

This item has no description.

Public function activetag: integer;

This item has no description.

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

This item has no description.

Properties

Public property activetab: integer read getactivetab write setactivetab;

This item has no description.

Public property tabs: ttabs read flayoutinfo.tabs write settabs;

This item has no description.

Public property firsttab: integer read flayoutinfo.firsttab write setfirsttab default 0;

This item has no description.

Public property onactivetabchange: notifyeventty read fonactivetabchange write fonactivetabchange;

This item has no description.

Public property font: twidgetfont read getfont write setfont stored isfontstored;

This item has no description.

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

This item has no description.

Public property ontabmoving: movingeventty read fontabmoving write fontabmoving;

This item has no description.

Public property ontabmoved: movedeventty read fontabmoved write fontabmoved;

This item has no description.

Public property onclientmouseevent: mouseeventty read fonclientmouseevent write fonclientmouseevent;

This item has no description.

Published property optionswidget default defaultoptionswidgettab;

This item has no description.

Published property optionswidget1 default defaultoptionswidget1tab;

This item has no description.


Generated by PasDoc 1.0.4.