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