FMX.ListBox.TListBox.OnItemClick

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property OnItemClick;

C++

__property OnItemClick;

Properties

Type Visibility Source Unit Parent
event published
FMX.ListBox.pas
FMX.ListBox.hpp
FMX.ListBox TListBox

Description

Occurs immediately after clicking an item from the listbox.

FMX.ListBox.TListBox.OnItemClick inherits from FMX.ListBox.TCustomListBox.OnItemClick. All content below this line refers to FMX.ListBox.TCustomListBox.OnItemClick.

Occurs immediately after clicking an item from the listbox.

Write an OnItemClick event handler to respond to clicking on an item from the listbox component.

The event handler for the OnItemClick event receives two arguments:

  • Sender: The TCustomListBox instance that holds the list box item that was clicked.
  • Item: The TListBoxItem instance that was clicked.

OnItemClick is an event of type TItemClickEvent.

See Also