API:Vcl.Touch.GestureMgr.TGestureCollection.AddGesture
Delphi
function AddGesture: TCustomGestureCollectionItem; override;
C++
virtual Vcl::Controls::TCustomGestureCollectionItem* __fastcall AddGesture();
プロパティ
| 種類 | 可視性 | ソース | ユニット | 親 |
|---|---|---|---|---|
| function | public | Vcl.Touch.GestureMgr.pas Vcl.Touch.GestureMgr.hpp |
Vcl.Touch.GestureMgr | TGestureCollection |
説明
コレクションへのジェスチャの新規作成と追加を行います。
Vcl.Touch.GestureMgr.TGestureCollection.AddGesture は Vcl.Controls.TCustomGestureCollection.AddGesture を継承しています。以下の内容はすべて Vcl.Controls.TCustomGestureCollection.AddGesture を参照しています。
コレクションへのジェスチャの新規作成と追加を行います。
AddGesture を下位クラスでオーバーライドして、コレクションへの適切なジェスチャの作成および追加を実装します。 AddGesture は、TCustomGestureCollectionItem オブジェクトを新規作成し、内部リストに追加してから呼び出し側に返します。