Class tcustomtabwidget

Unit

Declaration

type tcustomtabwidget = class(tactionwidget, iobjectpicker, istatfile)

Description

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 ftabs: tcustomtabbar1;
Protected fupdating: integer;
Protected fpopuptab: integer;
Protected factivepageindexdesign: integer;

Methods

Protected procedure defineproperties(filer: tfiler) override;
Protected procedure internaladd(const page: itabpage; aindex: integer);
Protected procedure internalremove(const page: itabpage);
Protected procedure registerchildwidget(const child: twidget); override;
Protected procedure unregisterchildwidget(const child: twidget); override;
Protected procedure pagechanged(const sender: itabpage);
Protected procedure GetChildren(Proc: TGetChildProc; Root: TComponent); override;
Protected procedure tabchanged(const synctabindex: boolean); virtual;
Protected procedure loaded; override;
Protected procedure clientrectchanged; override;
Protected procedure widgetregionchanged(const sender: twidget); override;
Protected procedure doactivepagechanged; virtual;
Protected procedure dopageadded(const apage: twidget); virtual;
Protected procedure dopageremoved(const apage: twidget); virtual;
Protected procedure createpagetab(const sender: tcustomtabbar; const index: integer; var tab: ttab);
Protected procedure dokeydown(var info: keyeventinfoty); override;
Protected procedure childmouseevent(const sender: twidget; var info: mouseeventinfoty); override;
Protected procedure dobeforepaint(const canvas: tcanvas); override;
Protected procedure doafterpaint(const canvas: tcanvas); override;
Protected procedure doclosepage(const sender: tobject); virtual;
Protected procedure updatepopupmenu(var amenu: tpopupmenu; var mouseinfo: mouseeventinfoty); override;
Protected procedure dostatread(const reader: tstatreader);
Protected procedure dostatwrite(const writer: tstatwriter);
Protected procedure statreading;
Protected procedure statread;
Protected function getstatvarname: msestring;
Protected function getstatpriority: integer;
Protected function checkpickoffset(const aoffset: pointty): pointty;
Protected function getcursorshape(const sender: tobjectpicker; var shape: cursorshapety): boolean;
Protected procedure getpickobjects(const sender: tobjectpicker; var objects: integerarty);
Protected procedure beginpickmove(const sender: tobjectpicker);
Protected procedure pickthumbtrack(const sender: tobjectpicker);
Protected procedure endpickmove(const sender: tobjectpicker);
Protected procedure cancelpickmove(const sender: tobjectpicker);
Protected procedure paintxorpic(const sender: tobjectpicker; const canvas: tcanvas);
Public constructor create(aowner: tcomponent); override;
Public destructor destroy; override;
Public procedure createtabframe();
Public procedure createtabface();
Public procedure createtabfont();
Public procedure createtabframetab();
Public procedure createtabfacetab();
Public procedure createtabfonttab();
Public procedure createtabfaceactivetab();
Public procedure createtabfontactivetab();
Public procedure beginupdate;
Public procedure endupdate;
Public procedure synctofontheight; override;
Public function indexof(const page: twidget): integer;
Public function count: integer;
Public procedure clear;
Public procedure clearorder;
Public procedure nextpage(newindex: integer; down: boolean);
Public procedure changepage(step: integer);
Public procedure movepage(const curindex,newindex: integer);
Public procedure add(const aitem: itabpage; const aindex: integer = bigint);
Public function pagebyname(const aname: string): twidget;

Properties

Public property items[constindex:integer]: twidget read getitems;
Public property itemsintf[constindex:integer]: itabpage read getitemsintf;
Public property activepage: twidget read getactivepage write setactivepage;
Public property activepageintf: itabpage read getactivepageintf;
Public property idents: integerarty read getidents;
Public property activepageindex: integer read getactivepageindex write setactivepageindex1 default -1;
Public property onactivepagechanged: notifyeventty read fonactivepagechanged write fonactivepagechanged;
Public property onpageadded: widgeteventty read fonpageadded write fonpageadded;
Public property onpageremoved: widgeteventty read fonpageremoved write fonpageremoved;
Public property optionswidget default defaulttaboptionswidget;
Public property font: twidgetfont read getfont write setfont stored isfontstored;
Public property fontempty: twidgetfontempty read getfontempty write setfontempty stored isfontemptystored;
Public property tab_options: tabbaroptionsty read gettab_options write settab_options default [];
Public property tab_frame: tstepboxframe1 read gettab_frame write settab_frame;
Public property tab_face: tface read gettab_face write settab_face;
Public property tab_color: colorty read gettab_color write settab_color default cl_default;
Public property tab_colortab: colorty read gettab_colortab write settab_colortab default cl_default;
Public property tab_coloractivetab: colorty read gettab_coloractivetab write settab_coloractivetab default cl_default;
Public property tab_font: ttab_font read gettab_font write settab_font stored istab_fontstored;
Public property tab_fonttab: ttab_fonttab read gettab_fonttab write settab_fonttab stored istab_fonttabstored;
Public property tab_fontactivetab: ttab_fontactivetab read gettab_fontactivetab write set_tabfontactivetab stored istab_fontactivetabstored;
Public property tab_imagepos: imageposty read gettab_imagepos write settab_imagepos default defaultimagepos;
Public property tab_textflags: textflagsty read gettab_textflags write settab_textflags default defaultcaptiontextflags;
Public property tab_width: integer read gettab_width write settab_width default 0;
Public property tab_widthmin: integer read gettab_widthmin write settab_widthmin default 0;
Public property tab_widthmax: integer read gettab_widthmax write settab_widthmax default 0;
Public property tab_shift: integer read gettab_shift write settab_shift default defaulttabshift;
Public property tab_edge_level: int32 read getedge_level write setedge_level default defaultedgelevel;
Public property tab_edge_colordkshadow: colorty read getedge_colordkshadow write setedge_colordkshadow default cl_default;
Public property tab_edge_colorshadow: colorty read getedge_colorshadow write setedge_colorshadow default cl_default;
Public property tab_edge_colorlight: colorty read getedge_colorlight write setedge_colorlight default cl_default;
Public property tab_edge_colorhighlight: colorty read getedge_colorhighlight write setedge_colorhighlight default cl_default;
Public property tab_edge_colordkwidth: int32 read getedge_colordkwidth write setedge_colordkwidth default -1;
Public property tab_edge_colorhlwidth: int32 read getedge_colorhlwidth write setedge_colorhlwidth default -1;
Public property tab_edge_imagelist: timagelist read getedge_imagelist write setedge_imagelist;
Public property tab_edge_imageoffset: int32 read getedge_imageoffset write setedge_imageoffset default 0;
Public property tab_edge_imagepaintshift: int32 read getedge_imagepaintshift write setedge_imagepaintshift default 0;
Public property tab_frametab: ttabframe read gettab_frametab write settab_frametab;
Public property tab_facetab: tface read gettab_facetab write settab_facetab;
Public property tab_faceactivetab: tface read gettab_faceactivetab write settab_faceactivetab;
Public property tab_size: integer read ftab_size write settab_size;
Public property tab_sizemin: integer read ftab_sizemin write settab_sizemin default defaulttabsizemin;
Public property tab_sizemax: integer read ftab_sizemax write settab_sizemax default defaulttabsizemax;
Public property tab_optionswidget: optionswidgetty read gettab_optionswidget write settab_optionswidget default defaultoptionswidgettab;
Public property tab_optionsskin: optionsskinty read gettab_optionsskin write settab_optionsskin default [];
Public property tab_optionswidget1: optionswidget1ty read gettab_optionswidget1 write settab_optionswidget1 default defaultoptionswidget1tab;
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;

Description

Fields

Protected ftabs: tcustomtabbar1;
 
Protected fupdating: integer;
 
Protected fpopuptab: integer;
 
Protected factivepageindexdesign: integer;
 

Methods

Protected procedure defineproperties(filer: tfiler) override;
 
Protected procedure internaladd(const page: itabpage; aindex: integer);
 
Protected procedure internalremove(const page: itabpage);
 
Protected procedure registerchildwidget(const child: twidget); override;
 
Protected procedure unregisterchildwidget(const child: twidget); override;
 
Protected procedure pagechanged(const sender: itabpage);
 
Protected procedure GetChildren(Proc: TGetChildProc; Root: TComponent); override;
 
Protected procedure tabchanged(const synctabindex: boolean); virtual;
 
Protected procedure loaded; override;
 
Protected procedure clientrectchanged; override;
 
Protected procedure widgetregionchanged(const sender: twidget); override;
 
Protected procedure doactivepagechanged; virtual;
 
Protected procedure dopageadded(const apage: twidget); virtual;
 
Protected procedure dopageremoved(const apage: twidget); virtual;
 
Protected procedure createpagetab(const sender: tcustomtabbar; const index: integer; var tab: ttab);
 
Protected procedure dokeydown(var info: keyeventinfoty); override;
 
Protected procedure childmouseevent(const sender: twidget; var info: mouseeventinfoty); override;
 
Protected procedure dobeforepaint(const canvas: tcanvas); override;
 
Protected procedure doafterpaint(const canvas: tcanvas); override;
 
Protected procedure doclosepage(const sender: tobject); virtual;
 
Protected procedure updatepopupmenu(var amenu: tpopupmenu; var mouseinfo: mouseeventinfoty); override;
 
Protected procedure dostatread(const reader: tstatreader);
 
Protected procedure dostatwrite(const writer: tstatwriter);
 
Protected procedure statreading;
 
Protected procedure statread;
 
Protected function getstatvarname: msestring;
 
Protected function getstatpriority: integer;
 
Protected function checkpickoffset(const aoffset: pointty): pointty;
 
Protected function getcursorshape(const sender: tobjectpicker; var shape: cursorshapety): boolean;
 
Protected procedure getpickobjects(const sender: tobjectpicker; var objects: integerarty);
 
Protected procedure beginpickmove(const sender: tobjectpicker);
 
Protected procedure pickthumbtrack(const sender: tobjectpicker);
 
Protected procedure endpickmove(const sender: tobjectpicker);
 
Protected procedure cancelpickmove(const sender: tobjectpicker);
 
Protected procedure paintxorpic(const sender: tobjectpicker; const canvas: tcanvas);
 
Public constructor create(aowner: tcomponent); override;
 
Public destructor destroy; override;
 
Public procedure createtabframe();
 
Public procedure createtabface();
 
Public procedure createtabfont();
 
Public procedure createtabframetab();
 
Public procedure createtabfacetab();
 
Public procedure createtabfonttab();
 
Public procedure createtabfaceactivetab();
 
Public procedure createtabfontactivetab();
 
Public procedure beginupdate;
 
Public procedure endupdate;
 
Public procedure synctofontheight; override;
 
Public function indexof(const page: twidget): integer;
 
Public function count: integer;
 
Public procedure clear;
 
Public procedure clearorder;
 
Public procedure nextpage(newindex: integer; down: boolean);
 
Public procedure changepage(step: integer);
 
Public procedure movepage(const curindex,newindex: integer);
 
Public procedure add(const aitem: itabpage; const aindex: integer = bigint);
 
Public function pagebyname(const aname: string): twidget;
 

Properties

Public property items[constindex:integer]: twidget read getitems;
 
Public property itemsintf[constindex:integer]: itabpage read getitemsintf;
 
Public property activepage: twidget read getactivepage write setactivepage;
 
Public property activepageintf: itabpage read getactivepageintf;
 
Public property idents: integerarty read getidents;
 
Public property activepageindex: integer read getactivepageindex write setactivepageindex1 default -1;
 
Public property onactivepagechanged: notifyeventty read fonactivepagechanged write fonactivepagechanged;
 
Public property onpageadded: widgeteventty read fonpageadded write fonpageadded;
 
Public property onpageremoved: widgeteventty read fonpageremoved write fonpageremoved;
 
Public property optionswidget default defaulttaboptionswidget;
 
Public property font: twidgetfont read getfont write setfont stored isfontstored;
 
Public property fontempty: twidgetfontempty read getfontempty write setfontempty stored isfontemptystored;
 
Public property tab_options: tabbaroptionsty read gettab_options write settab_options default [];
 
Public property tab_frame: tstepboxframe1 read gettab_frame write settab_frame;
 
Public property tab_face: tface read gettab_face write settab_face;
 
Public property tab_color: colorty read gettab_color write settab_color default cl_default;
 
Public property tab_colortab: colorty read gettab_colortab write settab_colortab default cl_default;
 
Public property tab_coloractivetab: colorty read gettab_coloractivetab write settab_coloractivetab default cl_default;
 
Public property tab_font: ttab_font read gettab_font write settab_font stored istab_fontstored;
 
Public property tab_fonttab: ttab_fonttab read gettab_fonttab write settab_fonttab stored istab_fonttabstored;
 
Public property tab_fontactivetab: ttab_fontactivetab read gettab_fontactivetab write set_tabfontactivetab stored istab_fontactivetabstored;
 
Public property tab_imagepos: imageposty read gettab_imagepos write settab_imagepos default defaultimagepos;
 
Public property tab_textflags: textflagsty read gettab_textflags write settab_textflags default defaultcaptiontextflags;
 
Public property tab_width: integer read gettab_width write settab_width default 0;
 
Public property tab_widthmin: integer read gettab_widthmin write settab_widthmin default 0;
 
Public property tab_widthmax: integer read gettab_widthmax write settab_widthmax default 0;
 
Public property tab_shift: integer read gettab_shift write settab_shift default defaulttabshift;
 
Public property tab_edge_level: int32 read getedge_level write setedge_level default defaultedgelevel;
 
Public property tab_edge_colordkshadow: colorty read getedge_colordkshadow write setedge_colordkshadow default cl_default;
 
Public property tab_edge_colorshadow: colorty read getedge_colorshadow write setedge_colorshadow default cl_default;
 
Public property tab_edge_colorlight: colorty read getedge_colorlight write setedge_colorlight default cl_default;
 
Public property tab_edge_colorhighlight: colorty read getedge_colorhighlight write setedge_colorhighlight default cl_default;
 
Public property tab_edge_colordkwidth: int32 read getedge_colordkwidth write setedge_colordkwidth default -1;
 
Public property tab_edge_colorhlwidth: int32 read getedge_colorhlwidth write setedge_colorhlwidth default -1;
 
Public property tab_edge_imagelist: timagelist read getedge_imagelist write setedge_imagelist;
 
Public property tab_edge_imageoffset: int32 read getedge_imageoffset write setedge_imageoffset default 0;
 
Public property tab_edge_imagepaintshift: int32 read getedge_imagepaintshift write setedge_imagepaintshift default 0;
 
Public property tab_frametab: ttabframe read gettab_frametab write settab_frametab;
 
Public property tab_facetab: tface read gettab_facetab write settab_facetab;
 
Public property tab_faceactivetab: tface read gettab_faceactivetab write settab_faceactivetab;
 
Public property tab_size: integer read ftab_size write settab_size;
 
Public property tab_sizemin: integer read ftab_sizemin write settab_sizemin default defaulttabsizemin;
 
Public property tab_sizemax: integer read ftab_sizemax write settab_sizemax default defaulttabsizemax;
 
Public property tab_optionswidget: optionswidgetty read gettab_optionswidget write settab_optionswidget default defaultoptionswidgettab;
 
Public property tab_optionsskin: optionsskinty read gettab_optionsskin write settab_optionsskin default [];
 
Public property tab_optionswidget1: optionswidget1ty read gettab_optionswidget1 write settab_optionswidget1 default defaultoptionswidget1tab;
 
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;
 

Generated by PasDoc 0.16.0.