Class

TDlgFieldPanel

Module

uDlgComponents

Last Modified

7/15/2014 3:26:44 PM

Comments

This is the panel associated with child items in template and reminders dialogs

Scope

Interfaced

Inherits from

TPanel

Declaration


TDlgFieldPanel = class(TPanel)
private
  FOnDestroy: TNotifyEvent;
  FCanvas: TControlCanvas;    {used to draw focus rect}
  FCurrentPos: TPoint;
  FChildren: TInterfaceList;
  function GetFocus: boolean;
  procedure SetTheFocus(const Value: boolean);
protected                     {used to draw focus rect}
  procedure Paint; override;  {used to draw focus rect}
public
  constructor Create(AOwner: TComponent); override;
  destructor Destroy; override;
  function GetFirstComponent: ICPRSDialogComponent;
  function GetNextComponent: ICPRSDialogComponent;
  property OnDestroy: TNotifyEvent read FOnDestroy write FOnDestroy;
  property Focus:  boolean read GetFocus write SetTheFocus; {to draw focus rect}
  property OnKeyPress;        {to click the checkbox when spacebar is pressed}
end;

Class Hierarchy


Class Fields

Name Type Scope Comments
FCanvas Simple (unknown) Private Used to draw focus rect
FChildren Simple (unknown) Private -
FCurrentPos TPoint Private -
FOnDestroy TNotifyEvent Private -

Properties

Name Type Scope Comments
Focus Boolean Public To draw focus rect
OnDestroy TNotifyEvent Public -
OnKeyPress Simple (unknown) Public To click the checkbox when spacebar is pressed

Constructors

Name Declaration Scope Comments
Create constructor Create(AOwner: TComponent); override; Public -

Destructors

Name Declaration Scope Comments
Destroy destructor Destroy; override; Public -

Methods

Name Declaration Scope Comments
GetFirstComponent function GetFirstComponent: ICPRSDialogComponent; Public -
GetFocus function GetFocus: boolean; Private -
GetNextComponent function GetNextComponent: ICPRSDialogComponent; Public -
Paint procedure Paint; override; {used to draw focus rect} Protected Used to draw focus rect
SetTheFocus procedure SetTheFocus(const Value: boolean); Private -

Referenced By (17)

Module (line) Referrer Type
uReminders (3401) - Read
uReminders (3465) - Unknown
uReminders (3489) - Read
uReminders (3511) GetPanel Read
uReminders (5148) - Read
uReminders (5152) - Read
uReminders (5154) - Unknown
uReminders (5155) - Read
uReminders (5162) - Read
uReminders (5166) - Read
uReminders (5168) - Unknown
uReminders (5169) - Read
uReminders (5188) - Unknown
uTemplateFields (34) TTemplateDialogEntry Read
uTemplateFields (63) GetPanel Read
uTemplateFields (1762) - Read
uTemplateFields (2075) - Read