Skip to main content

TcxGridCustomLayoutViewController.FocusNextItemHorizontally(Boolean,Boolean) Method

Moves focus from the selected item to the next item in a card horizontally.

Declaration

function FocusNextItemHorizontally(AGoForward: Boolean; AGoOnCycle: Boolean): Boolean; virtual;

Parameters

Name Type
AGoForward Boolean
AGoOnCycle Boolean

Returns

Type
Boolean

Remarks

The FocusNextItemHorizontally method returns True if the focus navigation was successful.

Provides empty implementation to be overridden in descendants.

AGoForward specifies the focus navigation (forward or backward). Set AGoForward to True, to move focus forward.

AGoOnCycle specifies the focus cycle. Set AGoOnCycle to True, to cyclically move focus in a card.

See Also