Skip to main content

TdxGetScrollbarAnnotationHint Type

The scrollbar annotation hint display event type.

Declaration

TdxGetScrollbarAnnotationHint = procedure(Sender: TObject; AAnnotationRowIndexLists: TdxScrollbarAnnotationRowIndexLists; var AHint: string) of object;

Parameters

Name Type
Sender TObject
AAnnotationRowIndexLists TdxScrollbarAnnotationRowIndexLists
AHint string

Remarks

The Sender parameter provides access to the container control (a TcxEditingControl class descendant) that raised a TdxGetScrollbarAnnotationHint event. Cast the Sender parameter value to the corresponding container control class (TcxDBVerticalGrid or TcxTreeList, for instance) to access its members.

The AAnnotationRowIndexLists parameter provides access to all scrollbar annotations whose marks are activated to display the corresponding hints.

Assign a hint you want to display to the AHint parameter. If you need no hint under specific circumstances, assign an empty string instead.

A container control’s OnGetScrollbarAnnotationHint event references the TdxGetScrollbarAnnotationHint procedural type.

See Also