Class tcustomscrollbar
Unit
Declaration
type tcustomscrollbar = class(tnullinterfacedpersistent, iframe, iface)
Description
This item has no description.
Hierarchy
- TObject
- tpersistent
- tvirtualpersistent
- tnullinterfacedpersistent
- tcustomscrollbar
Overview
Fields
| Protected | fstate: scrollbarstatesty; |
| Protected | fintf: iscrollbar; |
| Protected | foptions: scrollbaroptionsty; |
| Protected | fdrawinfo: scrollbardrawinfoty; |
| Protected | findentstart: integer; |
| Protected | findentend: integer; |
| Public | tag: integer; |
Methods
| Protected | function translatecolor(const acolor: colorty): colorty; |
| Protected | function getclientrect: rectty; |
| Protected | procedure setlinkedvar(const source: tmsecomponent; var dest: tmsecomponent; const linkintf: iobjectlink = nil); |
| Protected | procedure widgetregioninvalid; |
| Protected | procedure setframeinstance(instance: tcustomframe); |
| Protected | procedure setstaticframe(value: boolean); |
| Protected | function getstaticframe: boolean; |
| Protected | procedure scrollwidgets(const dist: pointty); |
| Protected | procedure clientrectchanged; |
| Protected | function getcomponentstate: tcomponentstate; |
| Protected | function getmsecomponentstate: msecomponentstatesty; |
| Protected | procedure invalidatewidget; |
| Protected | procedure invalidaterect(const rect: rectty; const org: originty = org_client; const noclip: boolean = false); |
| Protected | function getwidget: twidget; |
| Protected | function getwidgetrect: rectty; |
| Protected | function getframestateflags: framestateflagsty; |
| Protected | function getfocused: boolean; |
| Protected | procedure setfocused(const avalue: boolean); |
| Protected | function getshiftfact(ashiftstate: shiftstatesty; out fact: real): boolean; |
| Protected | procedure setoptions(const avalue: scrollbaroptionsty); virtual; |
| Protected | procedure invalidate; |
| Protected | procedure dosetvalue(); |
| Protected | procedure dostep(akind: scrolleventty; astep: real); |
| Protected | procedure dothumbevent(const aevent: scrolleventty); |
| Protected | function dostepup(const ashiftstate: shiftstatesty): boolean; |
| Protected | function dostepdown(const ashiftstate: shiftstatesty): boolean; |
| Protected | procedure defineproperties(filer: tfiler); override; |
| Protected | function actualcolorpattern: colorty; |
| Protected | function actualcolorpatternclicked: colorty; |
| Public | constructor create(intf: iscrollbar; org: originty = org_client; ondimchanged: proceventty = nil); reintroduce; virtual; |
| Public | destructor destroy; override; |
| Public | procedure createface(); |
| Public | procedure createface1(); |
| Public | procedure createface2(); |
| Public | procedure createfacebutton; |
| Public | procedure createfaceendbutton; |
| Public | procedure createframe; |
| Public | procedure createframebutton; |
| Public | procedure createframeendbutton1; |
| Public | procedure createframeendbutton2; |
| Public | procedure checktemplate(const sender: tobject); |
| Public | procedure paint(const canvas: tcanvas; const acolor: colorty = cl_none); virtual; |
| Public | function wantmouseevent(const apos: pointty): boolean; |
| Public | function buttonmoving(): boolean; |
| Public | procedure mouseevent(var info: mouseeventinfoty); |
| Public | procedure mousewheelevent(var info: mousewheeleventinfoty; const pagingreversed: boolean = false); |
| Public | procedure keydown(var info: keyeventinfoty); |
| Public | procedure enter(); |
| Public | procedure exit(); |
| Public | function clicked: boolean; |
| Public | procedure activechanged; |
| Public | procedure stepup; |
| Public | procedure stepdown; |
| Public | procedure pageup; |
| Public | procedure pagedown; |
| Public | procedure wheelup(const shiftstate: shiftstatesty = []); |
| Public | procedure wheeldown(const shiftstate: shiftstatesty = []); |
Properties
| Public | property focused: boolean read getfocused write setfocused; |
| Public | property disabled: boolean read getdisabled write setdisabled; |
| Public | property direction: graphicdirectionty read fdirection write setdirection
default gd_right; |
| Public | property value: real read fvalue write setvalue; |
| Public | property dim: rectty read fdrawinfo.dim write setdim; |
| Public | property width: integer read fwidth write setwidth default defaultscrollbarwidth; |
| Public | property indentstart: integer read findentstart write setindentstart default 0; |
| Public | property indentend: integer read findentend write setindentend default 0; |
| Public | property options: scrollbaroptionsty read foptions write setoptions
default defaultscrollbaroptions; |
| Public | property stepsize: real read getstepsize write fstepsize stored false; |
| Public | property stepctrlfact: real read fstepctrlfact
write fstepctrlfact stored false; |
| Public | property stepshiftfact: real read fstepshiftfact
write fstepshiftfact stored false; |
| Public | property pagesize: real read fpagesize write setpagesize stored false; |
| Public | property wheelsensitivity: real read fwheelsensitivity
write fwheelsensitivity stored false; |
| Public | property buttonlength: integer read fbuttonlength
write setbuttonlength default 0; |
| Public | property buttonminlength: integer read fbuttonminlength
write setbuttonminlength default defaultbuttonminlength; |
| Public | property buttonendlength: integer read fbuttonendlength
write setbuttonendlength default 0; |
| Public | property face: tface read getface write setface; |
| Public | property face1: tface read getface1 write setface1; |
| Public | property face2: tface read getface2 write setface2; |
| Public | property facebutton: tface read getfacebutton write setfacebutton; |
| Public | property faceendbutton: tface read getfaceendbutton write setfaceendbutton; |
| Public | property frame: tframe read getframe write setframe; |
| Public | property framebutton: tframe read getframebutton write setframebutton; |
| Public | property frameendbutton1: tframe read getframeendbutton1
write setframeendbutton1; |
| Public | property frameendbutton2: tframe read getframeendbutton2
write setframeendbutton2; |
| Public | property color: colorty read fcolor write setcolor default cl_default; |
| Public | property colorpattern: colorty read fcolorpattern
write setcolorpattern default cl_default; |
| Public | property colorpatternclicked: colorty read fcolorpatternclicked
write setcolorpatternclicked default cl_default; |
| Public | property colorglyph: colorty read fdrawinfo.areas[sbbu_down].ca.colorglyph
write setcolorglyph default cl_default; |
| Public | property onbeforeevent: beforescrollbareventty read fonbeforeevent
write fonbeforeevent; |
| Public | property onafterevent: scrollbareventty read fonafterevent
write fonafterevent; |
Description
Fields
| Protected | fstate: scrollbarstatesty; |
|
This item has no description. | |
| Protected | fintf: iscrollbar; |
|
This item has no description. | |
| Protected | foptions: scrollbaroptionsty; |
|
This item has no description. | |
| Protected | fdrawinfo: scrollbardrawinfoty; |
|
This item has no description. | |
| Protected | findentstart: integer; |
|
This item has no description. | |
| Protected | findentend: integer; |
|
This item has no description. | |
| Public | tag: integer; |
|
This item has no description. | |
Methods
| Protected | function translatecolor(const acolor: colorty): colorty; |
|
This item has no description. | |
| Protected | function getclientrect: rectty; |
|
This item has no description. | |
| Protected | procedure setlinkedvar(const source: tmsecomponent; var dest: tmsecomponent; const linkintf: iobjectlink = nil); |
|
This item has no description. | |
| Protected | procedure widgetregioninvalid; |
|
This item has no description. | |
| Protected | procedure setframeinstance(instance: tcustomframe); |
|
This item has no description. | |
| Protected | procedure setstaticframe(value: boolean); |
|
This item has no description. | |
| Protected | function getstaticframe: boolean; |
|
This item has no description. | |
| Protected | procedure scrollwidgets(const dist: pointty); |
|
This item has no description. | |
| Protected | procedure clientrectchanged; |
|
This item has no description. | |
| Protected | function getcomponentstate: tcomponentstate; |
|
This item has no description. | |
| Protected | function getmsecomponentstate: msecomponentstatesty; |
|
This item has no description. | |
| Protected | procedure invalidatewidget; |
|
This item has no description. | |
| Protected | procedure invalidaterect(const rect: rectty; const org: originty = org_client; const noclip: boolean = false); |
|
This item has no description. | |
| Protected | function getwidget: twidget; |
|
This item has no description. | |
| Protected | function getwidgetrect: rectty; |
|
This item has no description. | |
| Protected | function getframestateflags: framestateflagsty; |
|
This item has no description. | |
| Protected | function getfocused: boolean; |
|
This item has no description. | |
| Protected | procedure setfocused(const avalue: boolean); |
|
This item has no description. | |
| Protected | function getshiftfact(ashiftstate: shiftstatesty; out fact: real): boolean; |
|
This item has no description. | |
| Protected | procedure setoptions(const avalue: scrollbaroptionsty); virtual; |
|
This item has no description. | |
| Protected | procedure invalidate; |
|
This item has no description. | |
| Protected | procedure dosetvalue(); |
|
This item has no description. | |
| Protected | procedure dostep(akind: scrolleventty; astep: real); |
|
This item has no description. | |
| Protected | procedure dothumbevent(const aevent: scrolleventty); |
|
This item has no description. | |
| Protected | function dostepup(const ashiftstate: shiftstatesty): boolean; |
|
This item has no description. | |
| Protected | function dostepdown(const ashiftstate: shiftstatesty): boolean; |
|
This item has no description. | |
| Protected | procedure defineproperties(filer: tfiler); override; |
|
This item has no description. | |
| Protected | function actualcolorpattern: colorty; |
|
This item has no description. | |
| Protected | function actualcolorpatternclicked: colorty; |
|
This item has no description. | |
| Public | constructor create(intf: iscrollbar; org: originty = org_client; ondimchanged: proceventty = nil); reintroduce; virtual; |
|
This item has no description. | |
| Public | destructor destroy; override; |
|
This item has no description. | |
| Public | procedure createface(); |
|
This item has no description. | |
| Public | procedure createface1(); |
|
This item has no description. | |
| Public | procedure createface2(); |
|
This item has no description. | |
| Public | procedure createfacebutton; |
|
This item has no description. | |
| Public | procedure createfaceendbutton; |
|
This item has no description. | |
| Public | procedure createframe; |
|
This item has no description. | |
| Public | procedure createframebutton; |
|
This item has no description. | |
| Public | procedure createframeendbutton1; |
|
This item has no description. | |
| Public | procedure createframeendbutton2; |
|
This item has no description. | |
| Public | procedure checktemplate(const sender: tobject); |
|
This item has no description. | |
| Public | procedure paint(const canvas: tcanvas; const acolor: colorty = cl_none); virtual; |
|
This item has no description. | |
| Public | function wantmouseevent(const apos: pointty): boolean; |
|
This item has no description. | |
| Public | function buttonmoving(): boolean; |
|
This item has no description. | |
| Public | procedure mouseevent(var info: mouseeventinfoty); |
|
This item has no description. | |
| Public | procedure mousewheelevent(var info: mousewheeleventinfoty; const pagingreversed: boolean = false); |
|
This item has no description. | |
| Public | procedure keydown(var info: keyeventinfoty); |
|
This item has no description. | |
| Public | procedure enter(); |
|
This item has no description. | |
| Public | procedure exit(); |
|
This item has no description. | |
| Public | function clicked: boolean; |
|
This item has no description. | |
| Public | procedure activechanged; |
|
This item has no description. | |
| Public | procedure stepup; |
|
This item has no description. | |
| Public | procedure stepdown; |
|
This item has no description. | |
| Public | procedure pageup; |
|
This item has no description. | |
| Public | procedure pagedown; |
|
This item has no description. | |
| Public | procedure wheelup(const shiftstate: shiftstatesty = []); |
|
This item has no description. | |
| Public | procedure wheeldown(const shiftstate: shiftstatesty = []); |
|
This item has no description. | |
Properties
| Public | property focused: boolean read getfocused write setfocused; |
|
This item has no description. | |
| Public | property disabled: boolean read getdisabled write setdisabled; |
|
This item has no description. | |
| Public | property direction: graphicdirectionty read fdirection write setdirection
default gd_right; |
|
This item has no description. | |
| Public | property value: real read fvalue write setvalue; |
|
This item has no description. | |
| Public | property dim: rectty read fdrawinfo.dim write setdim; |
|
This item has no description. | |
| Public | property width: integer read fwidth write setwidth default defaultscrollbarwidth; |
|
This item has no description. | |
| Public | property indentstart: integer read findentstart write setindentstart default 0; |
|
This item has no description. | |
| Public | property indentend: integer read findentend write setindentend default 0; |
|
This item has no description. | |
| Public | property options: scrollbaroptionsty read foptions write setoptions
default defaultscrollbaroptions; |
|
This item has no description. | |
| Public | property stepsize: real read getstepsize write fstepsize stored false; |
|
This item has no description. | |
| Public | property stepctrlfact: real read fstepctrlfact
write fstepctrlfact stored false; |
|
This item has no description. | |
| Public | property stepshiftfact: real read fstepshiftfact
write fstepshiftfact stored false; |
|
This item has no description. | |
| Public | property pagesize: real read fpagesize write setpagesize stored false; |
|
This item has no description. | |
| Public | property wheelsensitivity: real read fwheelsensitivity
write fwheelsensitivity stored false; |
|
This item has no description. | |
| Public | property buttonlength: integer read fbuttonlength
write setbuttonlength default 0; |
|
This item has no description. | |
| Public | property buttonminlength: integer read fbuttonminlength
write setbuttonminlength default defaultbuttonminlength; |
|
This item has no description. | |
| Public | property buttonendlength: integer read fbuttonendlength
write setbuttonendlength default 0; |
|
This item has no description. | |
| Public | property face: tface read getface write setface; |
|
This item has no description. | |
| Public | property face1: tface read getface1 write setface1; |
|
This item has no description. | |
| Public | property face2: tface read getface2 write setface2; |
|
This item has no description. | |
| Public | property facebutton: tface read getfacebutton write setfacebutton; |
|
This item has no description. | |
| Public | property faceendbutton: tface read getfaceendbutton write setfaceendbutton; |
|
This item has no description. | |
| Public | property frame: tframe read getframe write setframe; |
|
This item has no description. | |
| Public | property framebutton: tframe read getframebutton write setframebutton; |
|
This item has no description. | |
| Public | property frameendbutton1: tframe read getframeendbutton1
write setframeendbutton1; |
|
This item has no description. | |
| Public | property frameendbutton2: tframe read getframeendbutton2
write setframeendbutton2; |
|
This item has no description. | |
| Public | property color: colorty read fcolor write setcolor default cl_default; |
|
This item has no description. | |
| Public | property colorpattern: colorty read fcolorpattern
write setcolorpattern default cl_default; |
|
This item has no description. | |
| Public | property colorpatternclicked: colorty read fcolorpatternclicked
write setcolorpatternclicked default cl_default; |
|
This item has no description. | |
| Public | property colorglyph: colorty read fdrawinfo.areas[sbbu_down].ca.colorglyph
write setcolorglyph default cl_default; |
|
This item has no description. | |
| Public | property onbeforeevent: beforescrollbareventty read fonbeforeevent
write fonbeforeevent; |
|
This item has no description. | |
| Public | property onafterevent: scrollbareventty read fonafterevent
write fonafterevent; |
|
This item has no description. | |
Generated by PasDoc 0.17.0.snapshot.