Skip to main content
Table of Contents

TTMSFNCResponsiveList.OnBeforeSelectItem Event

Occurs before an item is selected, and can disallow the selection.

API unit family: TMSFNCResponsiveList Declaring type: TTMSFNCResponsiveList

Syntax

FMX.TMSFNCResponsiveList.hppPascalC++
OnBeforeSelectItem: TResponsiveListItemAllowEvent;
__property TResponsiveListItemAllowEvent OnBeforeSelectItem = {read=FOnBeforeSelectItem, write=FOnBeforeSelectItem};

Remarks

Set Allow to False in the handler to prevent the item from being selected.