[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'Forms' (#lcl)

TScreen

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

Screen - the visible area

Declaration

Source position: forms.pp line 767

type TScreen = class(TLCLComponent)

protected

  function GetHintFont; virtual;

  

GetHintFont - find the correct font for displaying Hints

public

  constructor Create(); override;

  destructor Destroy; override;

  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 FindForm();

  

FindForm - returns the form with the specified name

  function FindDataModule();

  

FindDataModule - returns the Data Module with the specified name

  procedure UpdateScreen;

  

Method for updating screen

  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 RemoveAllHandlersOfObject(); override;

  

RemoveAllHandlersOfObject - method for removing all of an object's handlers: part of a clean-up procedure

  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

  property Cursor: TCursor; [rw]

  

The cursor currently being used in this screen

  property Cursors: HCURSOR; [rw]

  

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

  property FormCount: Integer; [r]

  

The number of Forms on this screen

  property Forms: TForm; [r]

  

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

  property Fonts: TStrings; [r]

  

The fonts to be used in this screen

  property Height: Integer; [r]

  

The height of the screen

  property HintFont: TFont; [r]

  

The font to be used to display hints

  property Width: Integer; [r]

  

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

  property PixelsPerInch: Integer; [r]

  

Scaling factor for displaying graphic information on the screen

end;

Inheritance

TScreen

  

Screen - the visible area

|

TLCLComponent

?

TObject