TcxCustomTrackBarProperties.OnGetPositionHint Event
Enables you to dynamically control the visibility and content of a hint window shown in response to thumb position changes and mouse hover events.
Declaration
property OnGetPositionHint: TcxTrackBarGetCustomHintEvent read; write;
Remarks
This event is fired only when the ShowPositionHint property is set to True.
Sender specifies the track bar editor.
APosition returns the current thumb position (the track bar’s Position property value).
AHintText specifies a hint text. By default, it is a string representation of APosition. You can adjust the hint text as required.
ACanShow specifies the hint window’s visibility. Pass False as this parameter to prohibit the hint window from being displayed.
AIsHintMultiLine specifies if the AHintText spans across multiple lines. Pass True as the AIsHintMultiLine parameter to vertically size the hint window to fit the entire hint text. If you inserted carriage returns and line feeds (Char(13) + Char(10)) to the hint text to manually wrap it into multiple lines, the AIsHintMultiLine parameter is ignored.