Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TcxCustomGridTableView.GoToNextScrollbarAnnotation(TdxScrollbarAnnotationKinds,Boolean,Boolean) Method

Moves focus to the nearest record marked with a scrollbar annotation.

#Declaration

Delphi
function GoToNextScrollbarAnnotation(AKinds: TdxScrollbarAnnotationKinds = dxAllScrollbarAnnotationKinds; AGoForward: Boolean = True; AGoOnCycle: Boolean = False): Boolean;

#Parameters

Name Type
AKinds TdxScrollbarAnnotationKinds
AGoForward Boolean
AGoOnCycle Boolean

#Returns

Type
Boolean

#Remarks

Call this function to navigate between all scrollbar annotation marks. A GoToNextScrollbarAnnotation function call moves focus to the next marked record and scrolls content to display the focused record. The function returns False if the focus position has not changed; otherwise – GoToNextScrollbarAnnotation returns True.

You can pass a custom set of scrollbar annotation types as the AKinds optional parameter to navigate only between them.

Pass False as the AGoForward optional parameter to move focus in the opposite direction.

The AGoOnCycle optional parameter defines if the GoToNextScrollbarAnnotation function moves focus to the first annotated record if the last marked record has focus. Pass True as this parameter to cycle the navigation indefinitely.

See Also