FMX.ListView.TListView.OnChangeRepainted

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property OnChangeRepainted: TNotifyEvent read FOnChangeRepainted write FOnChangeRepainted;

C++

__property OnChangeRepainted;

Properties

Type Visibility Source Unit Parent
event published
FMX.ListView.pas
FMX.ListView.hpp
FMX.ListView TListView

Description

Occurs when the ItemIndex property changes as a result of a user selecting a different item.

FMX.ListView.TListView.OnChangeRepainted inherits from FMX.ListView.TListViewBase.OnChangeRepainted. All content below this line refers to FMX.ListView.TListViewBase.OnChangeRepainted.

Occurs when the ItemIndex property changes as a result of a user selecting a different item.

Write an OnChangeRepainted event handler to respond to changes of the ItemIndex property. OnChangeRepainted allows a response once the list has been successfully changed and repainted.

OnChangeRepainted is an event of type TNotifyEvent. If you do not need to wait for the list to be repainted to reflect the change, see OnChange.

Note: The OnChangeRepainted event does not occur when you change the ItemIndex property from code. That is the intended functionality. If you want to replicate the behaviour of a user selecting a different item, call OnChangeRepainted explicitly.

See Also