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

THintWindow.Create

Constructor for the class instance.

Declaration

Source position: forms.pp line 1020

public constructor THintWindow.Create(

  AOwner: TComponent

); override;

Arguments

AOwner

  

Owner of the class instance.

Description

Create is the overridden constructor for the class instance. Create calls the inherited CreateNew constructor, and allocates resources needed in the class instance. This includes an internal timer used when AutoHide is set to True.

Create sets the default values for the following properties:

Parent
Set to Nil
Color
Set to clInfoBk
Font
Uses the Screen.HintFont
Canvas
Uses the brush style bsClear
Alignment
Set to taLeftJustify
BorderStyle
Set to bsNone
Caption
Set to an empty string ('')
HideInterval
Set to 3000 milliseconds (3 seconds)
AutoHide
Set to False

Create uses the default size from the class type for the control to set the initial bounds for the hint window.


Version 3.2 Generated 2024-02-25 Home