[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
Abstract class use for representing a Window or Widget
Source position: fpg_base.pas line 450
type TfpgWindowBase = class(TfpgComponent) |
||
public |
||
constructor Create(); override; |
||
procedure AfterConstruction; override; |
||
procedure AdjustWindowStyle; virtual; |
||
procedure SetWindowParameters; virtual; |
||
function Right; |
||
function Bottom; |
||
procedure UpdateWindowPosition; |
|
Forces fpGUI to act on window position and size properties |
procedure MoveWindow(); |
||
function WindowToScreen(); |
||
function HasParent; override; |
||
function GetClientRect; virtual; |
||
function GetBoundsRect; virtual; |
||
procedure ActivateWindow; virtual; abstract; |
|
This makse the target window the active window |
procedure CaptureMouse; virtual; abstract; |
||
procedure ReleaseMouse; virtual; abstract; |
||
procedure BringToFront; virtual; abstract; |
|
Changes the z-order of a window |
procedure SetFullscreen(); virtual; |
||
property HasHandle: Boolean; [r] |
||
property WindowType: TWindowType; [rw] |
||
property WindowAttributes: TWindowAttributes; [rw] |
||
|
Specifies the horizontal coordinate of the left edge of a component relative to its parent |
|
|
Specifies the vertical (X) coordinate of the top edge of a component relative to its parent |
|
|
Specifies the horizontal size of the control or form in pixels |
|
|
Specifies the vertical size of the control or form in pixels |
|
property Canvas: TfpgCanvasBase; [r] |
||
property Parent: TfpgWindowBase; [rw] |
||
property MouseCursor: TMouseCursor; [rw] |
||
end; |
|
Abstract class use for representing a Window or Widget |
|
| | ||
|
A descendant of the FPC TComponent class |
|
| | ||
TComponent |
||
? | ||
TObject |
fpGUI is a Windowed toolkit. By that we mean that every widget has a window handle. Widgets are essentially embedded windows without titlebars or borders, inside a parent window.