[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 759

type TScreen = class(TLCLComponent)

protected

  function GetHintFont; virtual;

  

public

  constructor Create(); override;

  

Create an instance of TScreen

  destructor Destroy; override;

  

Destroy this instance of TScreen

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

  

  procedure MoveFormToFocusFront();

  

  procedure MoveFormToZFront();

  

  function GetCurrentModalForm;

  

  function GetCurrentModalFormZIndex;

  

  function CustomFormBelongsToActiveGroup();

  

  function FindForm();

  

  function FindDataModule();

  procedure UpdateScreen;

  

Method for updating screen

  procedure AddHandlerFormAdded();

  

  procedure RemoveHandlerFormAdded();

  

  procedure AddHandlerRemoveForm();

  

  procedure RemoveHandlerRemoveForm();

  

  procedure AddHandlerActiveControlChanged();

  

  procedure RemoveHandlerActiveControlChanged();

  

  procedure AddHandlerActiveFormChanged();

  

  procedure RemoveHandlerActiveFormChanged();

  

  procedure RemoveAllHandlersOfObject(); override;

  

  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]

  

  property CustomFormsZOrdered: TCustomForm; [r]

  

  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]

  

  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

The latest version of this document can be found at lazarus-ccr.sourceforge.net.