[Overview][Resource strings][Constants][Types][Classes][Procedures and functions] Reference for unit 'GfxBase' (#fpgfx)

TFCustomWindow

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

Declaration

Source position: gfxbase.pas line 463

type TFCustomWindow = class

protected

  FHandle: Cardinal;

  

  FParent: TFCustomWindow;

  

  FCanvas: TFCustomCanvas;

  

  FLeft: Integer;

  

  FTop: Integer;

  

  FWidth: Integer;

  

  FHeight: Integer;

  

  FClientWidth: Integer;

  

  FClientHeight: Integer;

  

  FWindowOptions: TFWindowOptions;

  

  FChildWindows: TList;

  

  FMinSize: TSize;

  

  FMaxSize: TSize;

  

  function GetTitle; virtual;

  

  procedure SetTitle(); virtual;

  

  procedure DoSetCursor; virtual; abstract;

  

public

  constructor Create(); virtual;

  

  destructor Destroy; override;

  

  function CanClose; virtual;

  

  procedure SetPosition(); virtual;

  

  procedure SetSize(); virtual;

  

  procedure SetMinMaxSize(); virtual;

  

  procedure SetClientSize(); virtual;

  

  procedure SetMinMaxClientSize(); virtual;

  

  procedure Show; virtual; abstract;

  

  procedure Invalidate(); virtual; abstract;

  

  procedure PaintInvalidRegion; virtual; abstract;

  

  procedure CaptureMouse; virtual; abstract;

  

  procedure ReleaseMouse; virtual; abstract;

  

  procedure ProcessEvent(); virtual; abstract;

  

  property WindowOptions: TFWindowOptions; [rw]

  

  property Canvas: TFCustomCanvas; [r]

  

  property Handle: Cardinal; [r]

  

  property ChildWindows: TList; [r]

  

  property Left: Integer; [rw]

  

  property Top: Integer; [rw]

  

  property Width: Integer; [rw]

  

  property Height: Integer; [rw]

  

  property ClientWidth: Integer; [rw]

  

  property ClientHeight: Integer; [rw]

  

  property Cursor: TFCursor; [rw]

  

  property Title: String; [rw]

  

  property Parent: TFCustomWindow; [r]

  

  property OnCreate: TNotifyEvent; [rw]

  

  property OnCanClose: TGfxCanCloseEvent; [rw]

  

  property OnClose: TNotifyEvent; [rw]

  

  property OnFocusIn: TNotifyEvent; [rw]

  

  property OnFocusOut: TNotifyEvent; [rw]

  

  property OnHide: TNotifyEvent; [rw]

  

  property OnKeyPressed: TGfxKeyEvent; [rw]

  

  property OnKeyReleased: TGfxKeyEvent; [rw]

  

  property OnKeyChar: TGfxKeyCharEvent; [rw]

  

  property OnMouseEnter: TGfxMouseMoveEvent; [rw]

  

  property OnMouseLeave: TNotifyEvent; [rw]

  

  property OnMousePressed: TGfxMouseButtonEvent; [rw]

  

  property OnMouseReleased: TGfxMouseButtonEvent; [rw]

  

  property OnMouseMove: TGfxMouseMoveEvent; [rw]

  

  property OnMouseWheel: TGfxMouseWheelEvent; [rw]

  

  property OnPaint: TGfxPaintEvent; [rw]

  

  property OnMove: TNotifyEvent; [rw]

  

  property OnResize: TNotifyEvent; [rw]

  

  property OnShow: TNotifyEvent; [rw]

  

end;

Inheritance

TFCustomWindow

  

|

TObject

Description

Errors