[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
Screen - the visible area
Source position: forms.pp line 910
type TScreen = class(TLCLComponent) |
||
protected |
||
function GetHintFont; virtual; |
|
GetHintFont - find the correct font for displaying Hints |
function GetIconFont; virtual; |
||
function GetMenuFont; virtual; |
||
function GetSystemFont; virtual; |
||
public |
||
constructor Create(); override; |
|
Create - constructor for TScreen: performs inherited Create then creates and initialises lists of fonts, strings and forms |
destructor Destroy; override; |
|
Destroy - destructor for TForm: frees various lists then performs inherited Destroy |
function CustomFormIndex(); |
|
The Index number of a Custom Form on the screen |
function FormIndex(); |
|
The index number of a Form on the Screen |
function CustomFormZIndex(); |
|
CustomFormZIndex - the index value of the form in the Z dimension (Front to Back) |
procedure MoveFormToFocusFront(); |
|
MoveFormToFocusFront - move the specified form to the front of the focus |
procedure MoveFormToZFront(); |
|
MoveFormToZFront - move form to front in the Z-plane (does not specify whether focused) |
function GetCurrentModalForm; |
|
GetCurrentModalForm - returns the current Modal form on the current screen (ie a form that is awaiting a user response) |
function GetCurrentModalFormZIndex; |
|
GetCurrentModalFormZIndex - returns the Z-plane index of the current modal form |
function CustomFormBelongsToActiveGroup(); |
|
CustomFormBelongsToActiveGroup - returns True if the specified form belongs to the active group |
function FindNonDesignerForm(); |
||
function FindForm(); |
|
FindForm - returns the form with the specified name |
function FindNonDesignerDataModule(); |
||
function FindDataModule(); |
|
FindDataModule - returns the Data Module with the specified name |
procedure UpdateScreen; |
|
Method for updating screen |
procedure RemoveAllHandlersOfObject(); override; |
|
RemoveAllHandlersOfObject - method for removing all of an object's handlers: part of a clean-up procedure |
procedure AddHandlerFormAdded(); |
|
AddHandlerFormAdded - method for adding a form-adding handler |
procedure RemoveHandlerFormAdded(); |
|
RemoveHandlerFormAdded - method for removing a form-adding handler |
procedure AddHandlerRemoveForm(); |
|
AddHandlerRemoveForm - method for adding a form-removing handler |
procedure RemoveHandlerRemoveForm(); |
|
RemoveHandlerRemoveForm - method for removing a form-removing handler |
procedure AddHandlerActiveControlChanged(); |
|
AddHandlerActiveControlChanged - method for adding a handler for a change in the active control |
procedure RemoveHandlerActiveControlChanged(); |
|
RemoveHandlerActiveControlChanged - method for removing a handler for a change in the active control |
procedure AddHandlerActiveFormChanged(); |
|
AddHandlerActiveFormChanged - method for adding a handler for a change in active form |
procedure RemoveHandlerActiveFormChanged(); |
|
RemoveHandlerActiveFormChanged - method for removing a handler for a change in active form |
procedure AddHandlerFormVisibleChanged(); |
||
procedure RemoveHandlerFormVisibleChanged(); |
||
function DisableForms(); |
|
DisableForms - disable all forms except SkipForm. If DisabledList is available then add forms to that list and return it, otherwise return new list. Used to show forms and other dialogs modal |
procedure EnableForms(); |
|
EnableForms - enable all forms from AFormList and destroy list. Used to restore state after DisableForms |
function MonitorFromPoint(); |
||
function MonitorFromRect(); |
||
function MonitorFromWindow(); |
||
property ActiveControl: TWinControl; [r] |
|
The identity of the active control on this screen |
property ActiveCustomForm: TCustomForm; [r] |
|
The identity of the active Custom Form on this screen |
property ActiveForm: TForm; [r] |
|
The identity of the active Form on this Screen |
|
The cursor currently being used in this screen |
|
|
The indexed list of available cursors for this screen |
|
property CustomFormCount: Integer; [r] |
|
The number of Custom Forms on this screen |
property CustomForms: TCustomForm; [r] |
|
The list of Custom Forms on the screen |
property CustomFormZOrderCount: Integer; [r] |
|
CustomFormZOrderCount - the number of forms arranged in Z-plane order (ie Front to Back) |
property CustomFormsZOrdered: TCustomForm; [r] |
|
CustomFormsZOrdered - the forms arranged in Z-plane order (ie Front to Back) |
property DesktopHeight: Integer; [r] |
|
The total available height of the desktop in which the screen is to be placed |
property DesktopWidth: Integer; [r] |
|
The total available width of the desktop in which the screen is to be placed |
property FocusedForm: TCustomForm; [r] |
|
FocusedForm - the form that holds Focus |
|
The number of Forms on this screen |
|
|
The list of Forms in this Screen |
|
property DataModuleCount: Integer; [r] |
|
The number of data modules on the screen |
property DataModules: TDataModule; [r] |
|
The list of Data Modules |
|
The font to be used to display hints |
|
property SystemFont: TFont; [rw] |
||
|
The fonts to be used in this screen |
|
|
The height of the screen |
|
property MonitorCount: Integer; [r] |
|
MonitorCount - returns a number of monitors |
|
Monitors - provides access to the monitor list array |
|
property PixelsPerInch: Integer; [r] |
|
Scaling factor for displaying graphic information on the screen |
property PrimaryMonitor: TMonitor; [r] |
|
PrimaryMonitor - return the primary monitor of the system |
|
The width of the screen |
|
property OnActiveControlChange: TNotifyEvent; [rw] |
|
Event handler for change in the active control |
property OnActiveFormChange: TNotifyEvent; [rw] |
|
Event handler for a change in the active form on the screen |
end; |
|
Screen - the visible area |
|
| | ||
|
TLCLComponent - base class for LCL components |
|
| | ||
| | ||
| | ||
lazarus-ccr.sourceforge.net |