TTMSFNCHint.Calculate Method
Calculates and returns the bounding rectangle required to display the given hint text.
API unit family: TMSFNCHint
Declaring type: TTMSFNCHint
Inherited from: TTMSFNCCustomHint
Syntax
function Calculate(AHint: string): TRect; virtual;
Parameters
| Name | Description |
|---|---|
AHint |
The hint text to measure. |
Returns
A rectangle large enough to render AHint with the current font and padding.