Class tcustomcaptionframe

Unit

Declaration

type tcustomcaptionframe = class(tcustomframe)

Description

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 ffont: tframefont;
Protected finfo: drawtextinfoty;
Protected fcaptiondist: integer;
Protected fcaptionoffset: integer;
Protected foptions: captionframeoptionsty;

Methods

Protected procedure settemplateinfo(const ainfo: frameinfoty); override;
Protected procedure parentfontchanged; override;
Protected procedure fontcanvaschanged; override;
Protected procedure visiblechanged; override;
Protected function updatetextflags(const aflags: textflagsty): textflagsty;
Protected procedure updaterects; override;
Protected procedure updatehotkeys() override;
Protected procedure dominsize(var asize: sizety);
Protected procedure checkminshrinksize(var asize: sizety) override;
Protected procedure defineproperties(filer: tfiler); override;
Protected procedure setdisabled(const value: boolean); override;
Protected procedure dopaintfocusrect(const canvas: tcanvas; const rect: rectty); override;
Protected function checkfocusshortcut(var info: keyeventinfoty): boolean; override;
Protected function needsfocuspaint: boolean; override;
Protected function haspaintrectfocus(): boolean; override;
Protected procedure updatemousestate(const sender: twidget; const info: mouseeventinfoty); override;
Protected procedure internalpaintoverlay(const canvas: tcanvas; const arect: rectty) override;
Protected function getassistivecaption(): msestring; override;
Public constructor create(const aintf: icaptionframe);
Public destructor destroy; override;
Public procedure scale(const ascale: real); override;
Public procedure createfont;
Public function pointincaption(const point: pointty): boolean; override;
Public procedure checkwidgetsize(var asize: sizety); override;

Properties

Public property options: captionframeoptionsty read foptions write setoptions default defaultcaptionframeoptions;
Public property caption: msestring read fcaption write setcaption;
Public property captiontextflags: textflagsty read finfo.flags write setcaptiontextflags default [];
Public property captionpos: captionposty read fcaptionpos write setcaptionpos default cp_topleft;
Public property captiondist: integer read fcaptiondist write setcaptiondist stored iscaptiondiststored default 1;
Public property captionoffset: integer read fcaptionoffset write setcaptionoffset stored iscaptionoffsetstored default 0 ;
Public property font: tframefont read getfont write setfont stored isfontstored;

Description

Fields

Protected ffont: tframefont;
 
Protected finfo: drawtextinfoty;
 
Protected fcaptiondist: integer;
 
Protected fcaptionoffset: integer;
 
Protected foptions: captionframeoptionsty;
 

Methods

Protected procedure settemplateinfo(const ainfo: frameinfoty); override;
 
Protected procedure parentfontchanged; override;
 
Protected procedure fontcanvaschanged; override;
 
Protected procedure visiblechanged; override;
 
Protected function updatetextflags(const aflags: textflagsty): textflagsty;
 
Protected procedure updaterects; override;
 
Protected procedure updatehotkeys() override;
 
Protected procedure dominsize(var asize: sizety);
 
Protected procedure checkminshrinksize(var asize: sizety) override;
 
Protected procedure defineproperties(filer: tfiler); override;
 
Protected procedure setdisabled(const value: boolean); override;
 
Protected procedure dopaintfocusrect(const canvas: tcanvas; const rect: rectty); override;
 
Protected function checkfocusshortcut(var info: keyeventinfoty): boolean; override;
 
Protected function needsfocuspaint: boolean; override;
 
Protected function haspaintrectfocus(): boolean; override;
 
Protected procedure updatemousestate(const sender: twidget; const info: mouseeventinfoty); override;
 
Protected procedure internalpaintoverlay(const canvas: tcanvas; const arect: rectty) override;
 
Protected function getassistivecaption(): msestring; override;
 
Public constructor create(const aintf: icaptionframe);
 
Public destructor destroy; override;
 
Public procedure scale(const ascale: real); override;
 
Public procedure createfont;
 
Public function pointincaption(const point: pointty): boolean; override;
 
Public procedure checkwidgetsize(var asize: sizety); override;
 

Properties

Public property options: captionframeoptionsty read foptions write setoptions default defaultcaptionframeoptions;
 
Public property caption: msestring read fcaption write setcaption;
 
Public property captiontextflags: textflagsty read finfo.flags write setcaptiontextflags default [];
 
Public property captionpos: captionposty read fcaptionpos write setcaptionpos default cp_topleft;
 
Public property captiondist: integer read fcaptiondist write setcaptiondist stored iscaptiondiststored default 1;
 
Public property captionoffset: integer read fcaptionoffset write setcaptionoffset stored iscaptionoffsetstored default 0 ;
 
Public property font: tframefont read getfont write setfont stored isfontstored;
 

Generated by PasDoc 0.16.0.