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

THintWindow

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

Hint Window - the popup box containing helpful information that appears when the mouse pointer hovers over an object

Declaration

Source position: forms.pp line 813

type THintWindow = class(TCustomForm)

  class procedure WSRegisterClass; override;

  

WSRegisterClass - Register this Class for the current Widget Set

protected

  procedure DoShowWindow; override;

  

DoShowWindow automatically choose a control to focus

public

  constructor Create(); override;

  

Create - constructor for THintWindow: performs inherited Create then initialises many properties including timers, styles, position, font and colour

  destructor Destroy; override;

  

Destroy - destructor for THintWindow: frees timers then performs inherited Destroy

  procedure ActivateHint(); virtual;

  

Allow the hint message to be displayed in the specified rectangular space

  procedure ActivateHintData(); virtual;

  

Allow the hint message to be displayed, with a pointer to further data

  function CalcHintRect(); virtual;

  

Work out the size of the rectangle required to display the specified hint message

  procedure ReleaseHandle;

  

Release the handle for the hint message and return it to the system

  procedure Paint; override;

  

The default paint handler for the class

public

  class function GetControlClassDefaultSize; override;

  

Find the default size for this class of controls (by reference to parents)

public

  property Alignment: TAlignment; [rw]

  property AutoHide: Boolean; [rw]

  

Does the hint disappear (get hidden) after a while?

  property BiDiMode;

  property HideInterval: Integer; [rw]

  

The time after which the displayed hint disappears

end;

Inheritance

THintWindow

  

Hint Window - the popup box containing helpful information that appears when the mouse pointer hovers over an object

|

TCustomForm

  

TCustomForm - the base type for TForm

|

TScrollingWinControl

  

TScrollingWinControl - a class of Window Control that has one or more scroll bars

|

TCustomControl

  

TCustomControl - a base class for many window controls

|

TWinControl

|

TControl

|

TLCLComponent

  

TLCLComponent - base class for LCL components

|

TComponent,IUnknown,IInterfaceComponentReference

|

TPersistent

|

TObject

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