Class tcustomstepframe

Unit

Declaration

type tcustomstepframe = class(tcustomcaptionframe, iframe)

Description

No description available, ancestor tcustomcaptionframe description follows
No description available, ancestor tcustomframe description follows
No description available, ancestor toptionalpersistent description follows
No description available, ancestor tnullinterfacedpersistent description follows
No description available, ancestor tvirtualpersistent description follows

Hierarchy

Overview

Fields

Protected fforceinvisiblebuttons: stepkindsty;
Protected fforcevisiblebuttons: stepkindsty;
Protected fstepstate: stepframestatesty;
Protected fdim: rectty;

Methods

Protected procedure dorepeat(const sender: tobject);
Protected procedure killrepeater;
Protected procedure layoutchanged;
Protected procedure updaterects; override;
Protected procedure getpaintframe(var frame: framety); override;
Protected procedure updatelayout;
Protected procedure execute(const tag: integer; const info: mouseeventinfoty);
Protected procedure setframeinstance(instance: tcustomframe);
Protected procedure setstaticframe(value: boolean);
Protected function getstaticframe: boolean;
Protected function getwidgetrect: rectty;
Protected function getcomponentstate: tcomponentstate;
Protected function getmsecomponentstate: msecomponentstatesty;
Protected procedure scrollwidgets(const dist: pointty);
Protected procedure clientrectchanged;
Protected procedure invalidate;
Protected procedure invalidatewidget;
Protected procedure invalidaterect(const rect: rectty; const org: originty = org_client; const noclip: boolean = false);
Protected function getwidget: twidget;
Protected function getframestateflags: framestateflagsty; virtual;
Protected procedure internalpaintoverlay(const canvas: tcanvas; const arect: rectty) override;
Public constructor create(const aintf: icaptionframe; const stepintf: istepbar);
Public destructor destroy; override;
Public procedure createbuttonface;
Public procedure createbuttonframe;
Public procedure updatemousestate(const sender: twidget; const info: mouseeventinfoty); override;
Public procedure mouseevent(var info: mouseeventinfoty); virtual;
Public procedure domousewheelevent(var info: mousewheeleventinfoty); virtual;
Public procedure checktemplate(const sender: tobject); override;
Public procedure updatebuttonstate(const first,delta,count: integer);
Public function canstep: boolean;
Public function executestepevent(const event: stepkindty; const stepinfo: framestepinfoty; const aindex: integer): integer;

Properties

Protected property neededbuttons: stepkindsty read fneededbuttons write setneededbuttons;
Public property buttonsize: integer read fbuttonsize write setbuttonsize default defaultstepbuttonsize;
Public property colorbutton: colorty read fcolorbutton write setcolorbutton default cl_default;
Public property colorglyph: colorty read fcolorglyph write setcolorglyph default cl_default;
Public property buttonface: tface read getbuttonface write setbuttonface;
Public property buttonframe: tframe read getbuttonframe write setbuttonframe;
Public property disabledbuttons: stepkindsty read fdisabledbuttons write setdisabledbuttons default [];
Public property buttonsinvisible: stepkindsty read fforceinvisiblebuttons write setbuttonsinvisible default [sk_first,sk_last];
Public property buttonsvisible: stepkindsty read fforcevisiblebuttons write setbuttonsvisible default [];
Public property buttonpos: stepbuttonposty read fbuttonpos write setbuttonpos default sbp_right;
Public property buttonslast: boolean read fbuttonslast write setbuttonslast default false;
Public property buttonsinline: boolean read fbuttonsinline write setbuttonsinline default false;
Public property mousewheel: boolean read fmousewheel write fmousewheel default true;

Description

Fields

Protected fforceinvisiblebuttons: stepkindsty;
 
Protected fforcevisiblebuttons: stepkindsty;
 
Protected fstepstate: stepframestatesty;
 
Protected fdim: rectty;
 

Methods

Protected procedure dorepeat(const sender: tobject);
 
Protected procedure killrepeater;
 
Protected procedure layoutchanged;
 
Protected procedure updaterects; override;
 
Protected procedure getpaintframe(var frame: framety); override;
 
Protected procedure updatelayout;
 
Protected procedure execute(const tag: integer; const info: mouseeventinfoty);
 
Protected procedure setframeinstance(instance: tcustomframe);
 
Protected procedure setstaticframe(value: boolean);
 
Protected function getstaticframe: boolean;
 
Protected function getwidgetrect: rectty;
 
Protected function getcomponentstate: tcomponentstate;
 
Protected function getmsecomponentstate: msecomponentstatesty;
 
Protected procedure scrollwidgets(const dist: pointty);
 
Protected procedure clientrectchanged;
 
Protected procedure invalidate;
 
Protected procedure invalidatewidget;
 
Protected procedure invalidaterect(const rect: rectty; const org: originty = org_client; const noclip: boolean = false);
 
Protected function getwidget: twidget;
 
Protected function getframestateflags: framestateflagsty; virtual;
 
Protected procedure internalpaintoverlay(const canvas: tcanvas; const arect: rectty) override;
 
Public constructor create(const aintf: icaptionframe; const stepintf: istepbar);
 
Public destructor destroy; override;
 
Public procedure createbuttonface;
 
Public procedure createbuttonframe;
 
Public procedure updatemousestate(const sender: twidget; const info: mouseeventinfoty); override;
 
Public procedure mouseevent(var info: mouseeventinfoty); virtual;
 
Public procedure domousewheelevent(var info: mousewheeleventinfoty); virtual;
 
Public procedure checktemplate(const sender: tobject); override;
 
Public procedure updatebuttonstate(const first,delta,count: integer);
 
Public function canstep: boolean;
 
Public function executestepevent(const event: stepkindty; const stepinfo: framestepinfoty; const aindex: integer): integer;
 

Properties

Protected property neededbuttons: stepkindsty read fneededbuttons write setneededbuttons;
 
Public property buttonsize: integer read fbuttonsize write setbuttonsize default defaultstepbuttonsize;
 
Public property colorbutton: colorty read fcolorbutton write setcolorbutton default cl_default;
 
Public property colorglyph: colorty read fcolorglyph write setcolorglyph default cl_default;
 
Public property buttonface: tface read getbuttonface write setbuttonface;
 
Public property buttonframe: tframe read getbuttonframe write setbuttonframe;
 
Public property disabledbuttons: stepkindsty read fdisabledbuttons write setdisabledbuttons default [];
 
Public property buttonsinvisible: stepkindsty read fforceinvisiblebuttons write setbuttonsinvisible default [sk_first,sk_last];
 
Public property buttonsvisible: stepkindsty read fforcevisiblebuttons write setbuttonsvisible default [];
 
Public property buttonpos: stepbuttonposty read fbuttonpos write setbuttonpos default sbp_right;
 
Public property buttonslast: boolean read fbuttonslast write setbuttonslast default false;
 
Public property buttonsinline: boolean read fbuttonsinline write setbuttonsinline default false;
 
Public property mousewheel: boolean read fmousewheel write fmousewheel default true;
 

Generated by PasDoc 0.16.0.