Class TrGroupBox

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type TrGroupBox = class(TGroupBox)

Description

enhanced GroupBox supporting new frame, caption, gradient and minimalize buttons

Hierarchy

  • TGroupBox
  • TrGroupBox

Overview

Methods

Public procedure RefreshAutoPosition;
Public procedure CheckAutoMinimize;
Public procedure SetAllChildren(SetChildrenValueType: TSetChildrenValueTypes; Value: variant; P: Pointer; ExcludeTag: integer);

Properties

Public property DropFilesCount: integer read GetDropFilesCount;
Public property DropFileNames[I:integer]: string read GetDropFileNames;
Public property DropPoint: TPoint read FDropPoint;
Public property DropControl: TControl read GetDropControl;
Published property AutoEnableChildren: boolean read FAutoEnableChildren write FAutoEnableChildren default true;
Published property AutoHint: boolean read FAutoHint write FAutoHint default false;
Published property ClientRectTop: integer read FClientRectTop write SetClientRectTop default - 1;
Published property FrameType: TFrameType read FFrameType write SetFrameType default ft3D;
Published property FrameColor: TColor read FFrameColor write SetFrameColor default clWindowFrame;
Published property CaptionHeight: byte read FCaptionHeight write SetCaptionHeight stored StoreCaptionHeight;
Published property CaptionColor: TColor read FCaptionColor write SetCaptionColor stored StoreCaptionColor;
Published property CaptionFontColor: TColor read FCaptionFontColor write SetCaptionFontColor stored StoreCaptionFontColor;
Published property CaptionDisableFontColor: TColor read FCaptionDisableFontColor write SetCaptionDisableFontColor default clBtnShadow;
Published property CaptionFont: TFont read FCaptionFont write SetCaptionFont stored IsFontStored;
Published property CaptionParentFont: boolean read FCaptionParentFont write SetCaptionParentFont default true;
Published property CaptionAlignment: TAlignment read FCaptionAlignment write SetCaptionAlignment default taCenter;
Published property CaptionPosition: TCaptionPosition read FCaptionPosition write SetCaptionPosition default cpTop;
Published property GradientColorFrom: TColor read FGradientColorFrom write SetGradientColorFrom default clBtnFace;
Published property GradientColorTo: TColor read FGradientColorTo write SetGradientColorTo default clBtnFace;
Published property GradientType: TGradientType read FGradientType write SetGradientType default gtNone;
Published property MinMaxBtnType: TMinMaxBtnType read FMinMaxBtnType write SetMinMaxBtnType default mmbNone;
Published property MinBtnPicture: TPicture read FMinBtnPicture write SetMinBtnPicture;
Published property MaxBtnPicture: TPicture read FMaxBtnPicture write SetMaxBtnPicture;
Published property BackgroundPicture: TPicture read FBackgroundPicture write SetBackgroundPicture;
Published property BackgroundPictureType: TBackgroundPictureType read FBackgroundPictureType write SetBackgroundPictureType default bkpNone;
Published property UseTabColor: boolean read FUseTabColor write SetUseTabColor default false;
Published property Minimized: boolean read FMinimized write SetMinimized default false;
Published property MinimizeAnimate: boolean read FMinimizeAnimate write FMinimizeAnimate default false;
Published property AutoMinimizeTime: cardinal read FAutoMinimizeTime write FAutoMinimizeTime default 0;
Published property AutoMaximizeTime: cardinal read FAutoMaximizeTime write FAutoMaximizeTime default 0;
Published property ShowSizeGrip: boolean read FShowSizeGrip write SetShowSizeGrip default false;
Published property AutoResizePos: TAutoResizePos read FAutoResizePos write FAutoResizePos;
Published property AutoResizeChild: TAutoResizeChild read FAutoResizeChild write FAutoResizeChild;
Published property EnableDropFile: boolean read FEnableDropFile write SetEnableDropFile default false;
Published property OnResize;
Published property OnDrawControl: TDrawControl read FOnDrawControl write FOnDrawControl;
Published property OnMinimizeChange: TNotifyEvent read FOnMinimizeChange write FOnMinimizeChange;
Published property OnDropFiles: TDropFilesEvent read FOnDropFiles write FOnDropFiles;

Description

Methods

Public procedure RefreshAutoPosition;

realign possition of all child controls

Public procedure CheckAutoMinimize;

check time and do minimize on Time, should be called by user in OnIdle event

Public procedure SetAllChildren(SetChildrenValueType: TSetChildrenValueTypes; Value: variant; P: Pointer; ExcludeTag: integer);

set value to SetChildrenValueType for all children components

Properties

Public property DropFilesCount: integer read GetDropFilesCount;

The number of files dropped

Public property DropFileNames[I:integer]: string read GetDropFileNames;

The names of the dropped files

Public property DropPoint: TPoint read FDropPoint;

The mouse coordinates where the last files were dropped

Public property DropControl: TControl read GetDropControl;

The child control (if any) under the mouse when files are dropped - returns nil if no control under mouse

Published property AutoEnableChildren: boolean read FAutoEnableChildren write FAutoEnableChildren default true;
 
Published property AutoHint: boolean read FAutoHint write FAutoHint default false;
 
Published property ClientRectTop: integer read FClientRectTop write SetClientRectTop default - 1;
 
Published property FrameType: TFrameType read FFrameType write SetFrameType default ft3D;
 
Published property FrameColor: TColor read FFrameColor write SetFrameColor default clWindowFrame;
 
Published property CaptionHeight: byte read FCaptionHeight write SetCaptionHeight stored StoreCaptionHeight;
 
Published property CaptionColor: TColor read FCaptionColor write SetCaptionColor stored StoreCaptionColor;
 
Published property CaptionFontColor: TColor read FCaptionFontColor write SetCaptionFontColor stored StoreCaptionFontColor;
 
Published property CaptionDisableFontColor: TColor read FCaptionDisableFontColor write SetCaptionDisableFontColor default clBtnShadow;
 
Published property CaptionFont: TFont read FCaptionFont write SetCaptionFont stored IsFontStored;
 
Published property CaptionParentFont: boolean read FCaptionParentFont write SetCaptionParentFont default true;
 
Published property CaptionAlignment: TAlignment read FCaptionAlignment write SetCaptionAlignment default taCenter;
 
Published property CaptionPosition: TCaptionPosition read FCaptionPosition write SetCaptionPosition default cpTop;
 
Published property GradientColorFrom: TColor read FGradientColorFrom write SetGradientColorFrom default clBtnFace;
 
Published property GradientColorTo: TColor read FGradientColorTo write SetGradientColorTo default clBtnFace;
 
Published property GradientType: TGradientType read FGradientType write SetGradientType default gtNone;
 
Published property MinMaxBtnType: TMinMaxBtnType read FMinMaxBtnType write SetMinMaxBtnType default mmbNone;
 
Published property MinBtnPicture: TPicture read FMinBtnPicture write SetMinBtnPicture;
 
Published property MaxBtnPicture: TPicture read FMaxBtnPicture write SetMaxBtnPicture;
 
Published property BackgroundPicture: TPicture read FBackgroundPicture write SetBackgroundPicture;
 
Published property BackgroundPictureType: TBackgroundPictureType read FBackgroundPictureType write SetBackgroundPictureType default bkpNone;
 
Published property UseTabColor: boolean read FUseTabColor write SetUseTabColor default false;
 
Published property Minimized: boolean read FMinimized write SetMinimized default false;
 
Published property MinimizeAnimate: boolean read FMinimizeAnimate write FMinimizeAnimate default false;
 
Published property AutoMinimizeTime: cardinal read FAutoMinimizeTime write FAutoMinimizeTime default 0;
 
Published property AutoMaximizeTime: cardinal read FAutoMaximizeTime write FAutoMaximizeTime default 0;
 
Published property ShowSizeGrip: boolean read FShowSizeGrip write SetShowSizeGrip default false;
 
Published property AutoResizePos: TAutoResizePos read FAutoResizePos write FAutoResizePos;
 
Published property AutoResizeChild: TAutoResizeChild read FAutoResizeChild write FAutoResizeChild;
 
Published property EnableDropFile: boolean read FEnableDropFile write SetEnableDropFile default false;
 
Published property OnResize;
 
Published property OnDrawControl: TDrawControl read FOnDrawControl write FOnDrawControl;
 
Published property OnMinimizeChange: TNotifyEvent read FOnMinimizeChange write FOnMinimizeChange;
 
Published property OnDropFiles: TDropFilesEvent read FOnDropFiles write FOnDropFiles;

Event triggered when files have been dropped


Generated by PasDoc 0.13.0 on 2016-02-19 08:14:10