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

TIDesigner

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

The abstract base class for visual Form designers.

Declaration

Source position: forms.pp line 1906

type TIDesigner = class(TObject)

protected

  FLookupRoot: TComponent;

  

Member with the value for the LookupRoot property.

  FDefaultFormBoundsValid: Boolean;

  

Member with the value for the DefaultFormBoundsValid property.

public

  function IsDesignMsg(); virtual; abstract;

  

Checks a message received from the Sender argument, and returns True if it is a design message.

  procedure UTF8KeyPress(); virtual; abstract;

  

Defines the method used to handle a key press event for a UTF-8-encoded character.

  procedure Modified; virtual; abstract;

  

Method when design is Modified.

  procedure Notification(); virtual; abstract;

  

Notification that the supplied Operation has been applied to the specified Component.

  procedure PaintGrid; virtual; abstract;

  

PaintGrid - method for painting the grid in the designer.

  procedure ValidateRename(); virtual; abstract;

  

ValidateRename - method to validate the Rename process.

  function GetShiftState; virtual; abstract;

  

Gets the value for the shift state (whether Shift, Ctrl, or Alt key).

  procedure SelectOnlyThisComponent(); virtual; abstract;

  

Method to select only the current component in the designer.

  function UniqueName(); virtual; abstract;

  

Returns a Unique name for the designer, using the BaseName as a starting point.

  procedure PrepareFreeDesigner(); virtual; abstract;

  

Prepares the design surface and frees the root control.

  property LookupRoot: TComponent; [r]

  

Component that is the root control in the form design surface.

  property DefaultFormBoundsValid: Boolean; [rw]

  

Indicates whether the bounds are valid after moving or sizing the form on the design surface.

end;

Inheritance

TIDesigner

  

The abstract base class for visual Form designers.

|

TObject

Description

TIDesigner is a TObject descendant which specifies the interface used for visual Form designers. TIDesigner is the type used for the TCustomForm.Designer property.

It is used as the ancestor for TComponentEditorDesigner, and the type expected in the RootDesigner for the Object Inspector and Property editors used in the Lazarus IDE.

See also

TCustomForm.Designer

  

The designer object when the form is in design mode.

FindRootDesigner

  

Gets the designer object for the specified persistent object (or its parent).


Version 3.2 Generated 2024-02-25 Home