Vcl.Grids.TCustomGrid.DoGesture
Delphi
procedure DoGesture(const EventInfo: TGestureEventInfo; var Handled: Boolean); override;
C++
virtual void __fastcall DoGesture(const Vcl::Controls::TGestureEventInfo &EventInfo, bool &Handled);
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
procedure function |
protected | Vcl.Grids.pas Vcl.Grids.hpp |
Vcl.Grids | TCustomGrid |
説明
処理されていないジェスチャ イベントを処理します。
Vcl.Grids.TCustomGrid.DoGesture は Vcl.Controls.TControl.DoGesture を継承しています。以下の内容はすべて Vcl.Controls.TControl.DoGesture を参照しています。
処理されていないジェスチャ イベントを処理します。
発生したジェスチャ イベントをユーザーが処理しなかった場合には、DoGesture が自動的に実行されます。DoGesture が実行されるのは、OnGesture が設定されていないか、OnGesture でジェスチャ イベントが処理されなかった場合だけです。
下位クラスで DoGesture をオーバーライドすると、ジェスチャ イベントがユーザーに処理されなかった場合のデフォルトの振る舞いを設定することができます。TControl の DoGesture メソッドは、ただ結果を返すだけで、特別な処理は何も行いません。