Vcl.Touch.GestureCtrls.TCustomGestureListView.CreateSubItems
Delphi
procedure CreateSubItems(ListItem: TListItem; Gesture: TCustomGestureCollectionItem); virtual;
C++
virtual void __fastcall CreateSubItems(Vcl::Comctrls::TListItem* ListItem, Vcl::Controls::TCustomGestureCollectionItem* Gesture);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | Vcl.Touch.GestureCtrls.pas Vcl.Touch.GestureCtrls.hpp |
Vcl.Touch.GestureCtrls | TCustomGestureListView |
Description
Creates a new subitem for a list item.
CreateSubItems is called internally by the gesture list view control to initialize subitems. Override CreateSubItems in descendent classes to provide custom subitem initialization procedures.
CreateSubItems attempts to obtain the name of the gesture if it is a standard one; otherwise, it uses the ID as the gesture name.