Class tcustomframe
Unit
Declaration
type tcustomframe = class(toptionalpersistent, iimagelistinfo)
Description
No description available, ancestor toptionalpersistent description follows
No description available, ancestor tnullinterfacedpersistent description follows
No description available, ancestor tvirtualpersistent description follows
Hierarchy
- TObject
- tpersistent
- tvirtualpersistent
- tnullinterfacedpersistent
- toptionalpersistent
- tcustomframe
Overview
Fields
Methods
procedure defineproperties(filer: tfiler); override; |
|
function isoptional: boolean; override; |
|
procedure settemplateinfo(const ainfo: frameinfoty); virtual; |
|
procedure setdisabled(const value: boolean); virtual; |
|
procedure updateclientrect; virtual; |
|
class function calcpaintframe(const afi: baseframeinfoty): framety; |
|
class function calcinnerframe(const afi: baseframeinfoty): framety; |
|
procedure calcrects; |
|
procedure updaterects; virtual; |
|
procedure internalupdatestate(); |
|
procedure updatestate(); virtual; |
|
procedure checkstate; |
|
procedure poschanged; virtual; |
|
procedure fontcanvaschanged; virtual; |
|
procedure visiblechanged; virtual; |
|
procedure getpaintframe(var frame: framety); virtual; |
|
procedure dokeydown(var info: keyeventinfoty); virtual; |
|
function checkfocusshortcut(var info: keyeventinfoty): boolean; virtual; |
|
procedure parentfontchanged; virtual; |
|
procedure dopaintfocusrect(const canvas: tcanvas; const rect: rectty); virtual; |
|
procedure updatewidgetstate; virtual; |
|
procedure updatemousestate(const sender: twidget; const info: mouseeventinfoty); virtual; |
|
function needsactiveinvalidate: boolean; |
|
function needsenabledinvalidate: boolean; |
|
function needsfocusedinvalidate: boolean; |
|
function needsmouseinvalidate: boolean; |
|
function needsclickinvalidate: boolean; |
|
function needsmouseenterinvalidate: boolean; |
|
procedure activechanged; virtual; |
|
procedure enabledchanged(); virtual; |
|
procedure focusedchangedvirtual; |
|
function needsfocuspaint: boolean virtual; |
|
function haspaintrectfocus(): boolean virtual; |
|
function ishintarea(const apos: pointty; var aid: int32): boolean virtual; |
|
procedure checkminscrollsize(var asize: sizety) virtual; |
|
procedure checkminclientsize(var asize: sizety) virtual; |
|
procedure checkminshrinksize(var asize: sizety) virtual; |
|
procedure addscrollbarwidth(var asize: sizety) virtual; |
|
procedure subscrollbarwidth(var asize: sizety) virtual; |
|
procedure paintframeface(const canvas: tcanvas; const arect: rectty); |
|
class procedure drawframe(const canvas: tcanvas; const rect2: rectty; const afi: baseframeinfoty; const astate: framestateflagsty); |
|
function actualcolorclient(): colorty virtual; |
|
procedure internalpaintbackground(const canvas: tcanvas; const arect: rectty; const clip: boolean; const move: boolean) virtual; |
|
procedure internalpaintoverlay(const canvas: tcanvas; const arect: rectty) virtual; |
|
procedure updatehotkeys() virtual; |
|
function getassistivecaption(): msestring; virtual; |
|
constructor create(const intf: iframe); reintroduce; |
|
destructor destroy; override; |
|
procedure checktemplate(const sender: tobject); virtual; |
|
procedure assign(source: tpersistent); override; |
|
procedure scale(const ascale: real); virtual; |
|
procedure checkwidgetsize(var asize: sizety); virtual; |
|
procedure showhint(const aid: int32; var info: hintinfoty); virtual; |
|
procedure paintbackground(const canvas: tcanvas; const arect: rectty; const clip: boolean; const move: boolean); |
|
procedure paintoverlay(const canvas: tcanvas; const arect: rectty); |
|
function pointinmask(const pos: pointty; const arect: rectty): boolean; |
|
function outerframedim: sizety; |
|
function outerframecx: int32; |
|
function outerframecy: int32; |
|
function frameframedim: sizety; |
|
function frameframecx: int32; |
|
function frameframecy: int32; |
|
function paintframedim: sizety; |
|
function paintframecx: int32; |
|
function paintframecy: int32; |
|
function innerframedim: sizety; |
|
function innerframecx: int32; |
|
function innerframecy: int32; |
|
function outerframe: framety; |
|
function paintframe: framety; |
|
function paintframedelta: framety; |
|
function innerframe: framety; |
|
function cellframe: framety; |
|
function pointincaption(const point: pointty): boolean; virtual; |
|
procedure initgridframe; virtual; |
|
procedure changedirection(const oldvalue: graphicdirectionty; const newvalue: graphicdirectionty); |
Properties
property intf: iframe read fintf; |
|
property levelo: integer read fi.levelo write setlevelo
stored islevelostored default 0; |
|
property leveli: integer read fi.leveli write setleveli
stored islevelistored default 0; |
|
property framewidth: integer read fi.framewidth write setframewidth
stored isframewidthstored default 0; |
|
property colorframe: colorty read fi.colorframe write setcolorframe
stored iscolorframestored default cl_default; |
|
property colorframeactive: colorty read fi.colorframeactive
write setcolorframeactive
stored iscolorframeactivestored default cl_default; |
|
property colorframedisabled: colorty read fi.colorframedisabled
write setcolorframedisabled
stored iscolorframedisabledstored default cl_default; |
|
property colorframemouse: colorty read fi.colorframemouse
write setcolorframemouse
stored iscolorframemousestored default cl_default; |
|
property colorframeclicked: colorty read fi.colorframeclicked
write setcolorframeclicked
stored iscolorframeclickedstored default cl_default; |
|
property colorframedefault: colorty read fi.colorframedefault
write setcolorframedefault
stored iscolorframedefaultstored default cl_default; |
|
property colordkshadow: colorty read fi.framecolors.edges.shadow.effectcolor
write setcolordkshadow
stored iscolordkshadowstored default cl_default; |
|
property colorshadow: colorty read fi.framecolors.edges.shadow.color
write setcolorshadow
stored iscolorshadowstored default cl_default; |
|
property colorlight: colorty read fi.framecolors.edges.light.color
write setcolorlight
stored iscolorlightstored default cl_default; |
|
property colorhighlight: colorty read fi.framecolors.edges.light.effectcolor
write setcolorhighlight
stored iscolorhighlightstored default cl_default; |
|
property colordkwidth: integer read fi.framecolors.edges.shadow.effectwidth
write setcolordkwidth
stored iscolordkwidthstored default -1; |
|
property colorhlwidth: integer read fi.framecolors.edges.light.effectwidth
write setcolorhlwidth
stored iscolorhlwidthstored default -1; |
|
property hiddenedges: edgesty read fi.hiddenedges
write sethiddenedges default []; |
|
property framei: framety read fi.innerframe write setframei; |
|
property framei_left: integer read fi.innerframe.left write setframei_left
stored isfileftstored default 0; |
|
property framei_top: integer read fi.innerframe.top write setframei_top
stored isfitopstored default 0; |
|
property framei_right: integer read fi.innerframe.right write setframei_right
stored isfirightstored default 0; |
|
property framei_bottom: integer read fi.innerframe.bottom
write setframei_bottom
stored isfibottomstored default 0; |
|
property frameo: framety read fi.outerframe write setframeo; |
|
property frameo_left: integer read fi.outerframe.left write setframeo_left
stored isfoleftstored default 0; |
|
property frameo_top: integer read fi.outerframe.top write setframeo_top
stored isfotopstored default 0; |
|
property frameo_right: integer read fi.outerframe.right write setframeo_right
stored isforightstored default 0; |
|
property frameo_bottom: integer read fi.outerframe.bottom
write setframeo_bottom
stored isfobottomstored default 0; |
|
property frameimage_list: timagelist read fi.frameimage_list
write setframeimage_list stored isframeimage_liststored; |
|
property frameimage_left: integer read fi.frameimage_left
write setframeimage_left
stored isframeimage_leftstored default 0; |
|
property frameimage_top: integer read fi.frameimage_top
write setframeimage_top
stored isframeimage_topstored default 0; |
|
property frameimage_right: integer read fi.frameimage_right
write setframeimage_right
stored isframeimage_rightstored default 0; |
|
property frameimage_bottom: integer read fi.frameimage_bottom
write setframeimage_bottom
stored isframeimage_bottomstored default 0; |
|
property frameimage_offset: imagenrty read fi.frameimage_offsets.offset
write setframeimage_offset
stored isframeimage_offsetstored default 0; |
|
property frameimage_offset1: imagenrty read fi.frameimage_offsets.offset1
write setframeimage_offset1
stored isframeimage_offset1stored default 0; |
|
property frameimage_offsetdisabled: imagenrty
read fi.frameimage_offsets.disabled
write setframeimage_offsetdisabled
stored isframeimage_offsetdisabledstored default 0; |
|
property frameimage_offsetmouse: imagenrty
read fi.frameimage_offsets.mouse
write setframeimage_offsetmouse
stored isframeimage_offsetmousestored default 0; |
|
property frameimage_offsetclicked: imagenrty
read fi.frameimage_offsets.clicked
write setframeimage_offsetclicked
stored isframeimage_offsetclickedstored default 0; |
|
property frameimage_offsetactive: imagenrty
read fi.frameimage_offsets.active
write setframeimage_offsetactive
stored isframeimage_offsetactivestored default 0; |
|
property frameimage_offsetfocused: imagenrty
read fi.frameimage_offsets.focused
write setframeimage_offsetfocused
stored isframeimage_offsetfocusedstored default 0; |
|
property frameface_list: tfacelist read fi.frameface_list
write setframeface_list stored isframeface_liststored; |
|
property frameface_offset: facenrty read fi.frameface_offsets.offset
write setframeface_offset
stored isframeface_offsetstored default 0; |
|
property frameface_offset1: facenrty
read fi.frameface_offsets.offset1
write setframeface_offset1
stored isframeface_offset1stored default 0; |
|
property frameface_offsetdisabled: facenrty
read fi.frameface_offsets.disabled
write setframeface_offsetdisabled
stored isframeface_offsetdisabledstored default 0; |
|
property frameface_offsetmouse: facenrty
read fi.frameface_offsets.mouse
write setframeface_offsetmouse
stored isframeface_offsetmousestored default 0; |
|
property frameface_offsetclicked: facenrty
read fi.frameface_offsets.clicked
write setframeface_offsetclicked
stored isframeface_offsetclickedstored default 0; |
|
property frameface_offsetactive: facenrty
read fi.frameface_offsets.active
write setframeface_offsetactive
stored isframeface_offsetactivestored default 0; |
|
property frameface_offsetfocused: facenrty
read fi.frameface_offsets.focused
write setframeface_offsetfocused
stored isframeface_offsetfocusedstored default 0; |
|
property optionsskin: frameskinoptionsty read fi.optionsskin
write setoptionsskin stored isoptionsskinstored default []; |
|
property focusrectdist: int32 read fi.focusrectdist
write setfocusrectdist
stored isfocusrectdiststored default 0; |
|
property extraspace: int32 read fi.extraspace
write setextraspace
stored isextraspacestored default 0; |
|
property imagedist: int32 read fi.imagedist
write setimagedist
stored isimagediststored default 0; |
|
property imagedist1: int32 read fi.imagedist1
write setimagedist1
stored isimagedist1stored default 0; |
|
property imagedist2: int32 read fi.imagedist2
write setimagedist2
stored isimagedist2stored default 0; |
|
property colorclient: colorty read fi.colorclient write setcolorclient
stored iscolorclientstored default cl_default; |
|
property localprops: framelocalpropsty read flocalprops
write setlocalprops ; |
|
property localprops1: framelocalprops1ty read flocalprops1
write setlocalprops1 ; |
|
property template: tframecomp read ftemplate write settemplate; |
Description
Fields
ftemplate: tframecomp; |
|
flocalprops: framelocalpropsty; |
|
flocalprops1: framelocalprops1ty; |
|
fintf: iframe; |
|
fstate: framestatesty; |
|
fwidth: framety; |
|
fouterframe: framety; |
|
fpaintframedelta: framety; |
|
fpaintframe: framety; |
|
finnerframe: framety; |
|
fpaintrect: rectty; |
|
fclientrect: rectty; |
|
finnerclientrect: rectty; |
|
fpaintposbefore: pointty; |
|
fi: baseframeinfoty; |
|
Methods
procedure defineproperties(filer: tfiler); override; |
|
function isoptional: boolean; override; |
|
procedure settemplateinfo(const ainfo: frameinfoty); virtual; |
|
procedure setdisabled(const value: boolean); virtual; |
|
procedure updateclientrect; virtual; |
|
class function calcpaintframe(const afi: baseframeinfoty): framety; |
|
class function calcinnerframe(const afi: baseframeinfoty): framety; |
|
procedure calcrects; |
|
procedure updaterects; virtual; |
|
procedure internalupdatestate(); |
|
procedure updatestate(); virtual; |
|
procedure checkstate; |
|
procedure poschanged; virtual; |
|
procedure fontcanvaschanged; virtual; |
|
procedure visiblechanged; virtual; |
|
procedure getpaintframe(var frame: framety); virtual; |
|
procedure dokeydown(var info: keyeventinfoty); virtual; |
|
function checkfocusshortcut(var info: keyeventinfoty): boolean; virtual; |
|
procedure parentfontchanged; virtual; |
|
procedure dopaintfocusrect(const canvas: tcanvas; const rect: rectty); virtual; |
|
procedure updatewidgetstate; virtual; |
|
procedure updatemousestate(const sender: twidget; const info: mouseeventinfoty); virtual; |
|
function needsactiveinvalidate: boolean; |
|
function needsenabledinvalidate: boolean; |
|
function needsfocusedinvalidate: boolean; |
|
function needsmouseinvalidate: boolean; |
|
function needsclickinvalidate: boolean; |
|
function needsmouseenterinvalidate: boolean; |
|
procedure activechanged; virtual; |
|
procedure enabledchanged(); virtual; |
|
procedure focusedchangedvirtual; |
|
function needsfocuspaint: boolean virtual; |
|
function haspaintrectfocus(): boolean virtual; |
|
function ishintarea(const apos: pointty; var aid: int32): boolean virtual; |
|
procedure checkminscrollsize(var asize: sizety) virtual; |
|
procedure checkminclientsize(var asize: sizety) virtual; |
|
procedure checkminshrinksize(var asize: sizety) virtual; |
|
procedure addscrollbarwidth(var asize: sizety) virtual; |
|
procedure subscrollbarwidth(var asize: sizety) virtual; |
|
procedure paintframeface(const canvas: tcanvas; const arect: rectty); |
|
class procedure drawframe(const canvas: tcanvas; const rect2: rectty; const afi: baseframeinfoty; const astate: framestateflagsty); |
|
function actualcolorclient(): colorty virtual; |
|
procedure internalpaintbackground(const canvas: tcanvas; const arect: rectty; const clip: boolean; const move: boolean) virtual; |
|
procedure internalpaintoverlay(const canvas: tcanvas; const arect: rectty) virtual; |
|
procedure updatehotkeys() virtual; |
|
function getassistivecaption(): msestring; virtual; |
|
constructor create(const intf: iframe); reintroduce; |
|
destructor destroy; override; |
|
procedure checktemplate(const sender: tobject); virtual; |
|
procedure assign(source: tpersistent); override; |
|
procedure scale(const ascale: real); virtual; |
|
procedure checkwidgetsize(var asize: sizety); virtual; |
|
procedure showhint(const aid: int32; var info: hintinfoty); virtual; |
|
procedure paintbackground(const canvas: tcanvas; const arect: rectty; const clip: boolean; const move: boolean); |
|
procedure paintoverlay(const canvas: tcanvas; const arect: rectty); |
|
function pointinmask(const pos: pointty; const arect: rectty): boolean; |
|
function outerframedim: sizety; |
|
function outerframecx: int32; |
|
function outerframecy: int32; |
|
function frameframedim: sizety; |
|
function frameframecx: int32; |
|
function frameframecy: int32; |
|
function paintframedim: sizety; |
|
function paintframecx: int32; |
|
function paintframecy: int32; |
|
function innerframedim: sizety; |
|
function innerframecx: int32; |
|
function innerframecy: int32; |
|
function outerframe: framety; |
|
function paintframe: framety; |
|
function paintframedelta: framety; |
|
function innerframe: framety; |
|
function cellframe: framety; |
|
function pointincaption(const point: pointty): boolean; virtual; |
|
procedure initgridframe; virtual; |
|
procedure changedirection(const oldvalue: graphicdirectionty; const newvalue: graphicdirectionty); |
|
Properties
property intf: iframe read fintf; |
|
property levelo: integer read fi.levelo write setlevelo
stored islevelostored default 0; |
|
property leveli: integer read fi.leveli write setleveli
stored islevelistored default 0; |
|
property framewidth: integer read fi.framewidth write setframewidth
stored isframewidthstored default 0; |
|
property colorframe: colorty read fi.colorframe write setcolorframe
stored iscolorframestored default cl_default; |
|
property colorframeactive: colorty read fi.colorframeactive
write setcolorframeactive
stored iscolorframeactivestored default cl_default; |
|
property colorframedisabled: colorty read fi.colorframedisabled
write setcolorframedisabled
stored iscolorframedisabledstored default cl_default; |
|
property colorframemouse: colorty read fi.colorframemouse
write setcolorframemouse
stored iscolorframemousestored default cl_default; |
|
property colorframeclicked: colorty read fi.colorframeclicked
write setcolorframeclicked
stored iscolorframeclickedstored default cl_default; |
|
property colorframedefault: colorty read fi.colorframedefault
write setcolorframedefault
stored iscolorframedefaultstored default cl_default; |
|
property colordkshadow: colorty read fi.framecolors.edges.shadow.effectcolor
write setcolordkshadow
stored iscolordkshadowstored default cl_default; |
|
property colorshadow: colorty read fi.framecolors.edges.shadow.color
write setcolorshadow
stored iscolorshadowstored default cl_default; |
|
property colorlight: colorty read fi.framecolors.edges.light.color
write setcolorlight
stored iscolorlightstored default cl_default; |
|
property colorhighlight: colorty read fi.framecolors.edges.light.effectcolor
write setcolorhighlight
stored iscolorhighlightstored default cl_default; |
|
property colordkwidth: integer read fi.framecolors.edges.shadow.effectwidth
write setcolordkwidth
stored iscolordkwidthstored default -1; |
|
property colorhlwidth: integer read fi.framecolors.edges.light.effectwidth
write setcolorhlwidth
stored iscolorhlwidthstored default -1; |
|
property hiddenedges: edgesty read fi.hiddenedges
write sethiddenedges default []; |
|
property framei: framety read fi.innerframe write setframei; |
|
property framei_left: integer read fi.innerframe.left write setframei_left
stored isfileftstored default 0; |
|
property framei_top: integer read fi.innerframe.top write setframei_top
stored isfitopstored default 0; |
|
property framei_right: integer read fi.innerframe.right write setframei_right
stored isfirightstored default 0; |
|
property framei_bottom: integer read fi.innerframe.bottom
write setframei_bottom
stored isfibottomstored default 0; |
|
property frameo: framety read fi.outerframe write setframeo; |
|
property frameo_left: integer read fi.outerframe.left write setframeo_left
stored isfoleftstored default 0; |
|
property frameo_top: integer read fi.outerframe.top write setframeo_top
stored isfotopstored default 0; |
|
property frameo_right: integer read fi.outerframe.right write setframeo_right
stored isforightstored default 0; |
|
property frameo_bottom: integer read fi.outerframe.bottom
write setframeo_bottom
stored isfobottomstored default 0; |
|
property frameimage_list: timagelist read fi.frameimage_list
write setframeimage_list stored isframeimage_liststored; |
|
property frameimage_left: integer read fi.frameimage_left
write setframeimage_left
stored isframeimage_leftstored default 0; |
|
property frameimage_top: integer read fi.frameimage_top
write setframeimage_top
stored isframeimage_topstored default 0; |
|
property frameimage_right: integer read fi.frameimage_right
write setframeimage_right
stored isframeimage_rightstored default 0; |
|
property frameimage_bottom: integer read fi.frameimage_bottom
write setframeimage_bottom
stored isframeimage_bottomstored default 0; |
|
property frameimage_offset: imagenrty read fi.frameimage_offsets.offset
write setframeimage_offset
stored isframeimage_offsetstored default 0; |
|
property frameimage_offset1: imagenrty read fi.frameimage_offsets.offset1
write setframeimage_offset1
stored isframeimage_offset1stored default 0; |
|
property frameimage_offsetdisabled: imagenrty
read fi.frameimage_offsets.disabled
write setframeimage_offsetdisabled
stored isframeimage_offsetdisabledstored default 0; |
|
property frameimage_offsetmouse: imagenrty
read fi.frameimage_offsets.mouse
write setframeimage_offsetmouse
stored isframeimage_offsetmousestored default 0; |
|
property frameimage_offsetclicked: imagenrty
read fi.frameimage_offsets.clicked
write setframeimage_offsetclicked
stored isframeimage_offsetclickedstored default 0; |
|
property frameimage_offsetactive: imagenrty
read fi.frameimage_offsets.active
write setframeimage_offsetactive
stored isframeimage_offsetactivestored default 0; |
|
property frameimage_offsetfocused: imagenrty
read fi.frameimage_offsets.focused
write setframeimage_offsetfocused
stored isframeimage_offsetfocusedstored default 0; |
|
property frameface_list: tfacelist read fi.frameface_list
write setframeface_list stored isframeface_liststored; |
|
property frameface_offset: facenrty read fi.frameface_offsets.offset
write setframeface_offset
stored isframeface_offsetstored default 0; |
|
property frameface_offset1: facenrty
read fi.frameface_offsets.offset1
write setframeface_offset1
stored isframeface_offset1stored default 0; |
|
property frameface_offsetdisabled: facenrty
read fi.frameface_offsets.disabled
write setframeface_offsetdisabled
stored isframeface_offsetdisabledstored default 0; |
|
property frameface_offsetmouse: facenrty
read fi.frameface_offsets.mouse
write setframeface_offsetmouse
stored isframeface_offsetmousestored default 0; |
|
property frameface_offsetclicked: facenrty
read fi.frameface_offsets.clicked
write setframeface_offsetclicked
stored isframeface_offsetclickedstored default 0; |
|
property frameface_offsetactive: facenrty
read fi.frameface_offsets.active
write setframeface_offsetactive
stored isframeface_offsetactivestored default 0; |
|
property frameface_offsetfocused: facenrty
read fi.frameface_offsets.focused
write setframeface_offsetfocused
stored isframeface_offsetfocusedstored default 0; |
|
property optionsskin: frameskinoptionsty read fi.optionsskin
write setoptionsskin stored isoptionsskinstored default []; |
|
property focusrectdist: int32 read fi.focusrectdist
write setfocusrectdist
stored isfocusrectdiststored default 0; |
|
property extraspace: int32 read fi.extraspace
write setextraspace
stored isextraspacestored default 0; |
|
property imagedist: int32 read fi.imagedist
write setimagedist
stored isimagediststored default 0; |
|
property imagedist1: int32 read fi.imagedist1
write setimagedist1
stored isimagedist1stored default 0; |
|
property imagedist2: int32 read fi.imagedist2
write setimagedist2
stored isimagedist2stored default 0; |
|
property colorclient: colorty read fi.colorclient write setcolorclient
stored iscolorclientstored default cl_default; |
|
property localprops: framelocalpropsty read flocalprops
write setlocalprops ; |
|
property localprops1: framelocalprops1ty read flocalprops1
write setlocalprops1 ; |
|
property template: tframecomp read ftemplate write settemplate; |
|
Generated by PasDoc 0.16.0.