Sign in Join
FPDoc Onlineexperiment

THintWindow.ActivateWithBounds procedure

Member of THintWindowpublicIn unit Forms

Sets the bounds in HintRect and activates the hint window.

Declaration

pascal
procedure ActivateWithBounds(ARect: TRect; const AHint: string)

Arguments

ARect

Rectangle with the bounds assigned to HintRect.

AHint

Text displayed in the hint window.

Description

ActivateWithBounds is a procedure used to display a hint window without adjusting its position or size using the private AdjustBoundsForMonitor method. ActivateWithBounds sets the value in HintRect to the value in the ARect argument. ActivateWithBounds calls ActivateHint using the value in AHint as the text displayed in the hint window.

ActivateWithBounds is used in controls (like TSynEdit) where the bounds for the hint window use predetermined screen coordinates.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.