Vcl.Controls.TCustomGestureCollection.GetUniqueGestureID
Delphi
function GetUniqueGestureID: TGestureID; virtual; abstract;
C++
virtual TGestureID __fastcall GetUniqueGestureID() = 0 ;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | Vcl.Controls.pas Vcl.Controls.hpp |
Vcl.Controls | TCustomGestureCollection |
Description
Returns a new unique ID that can be assigned to a custom gesture.
Override GetUniqueGestureID in descending classes to implement proper lookup and generation of unique IDs that are assigned to all new gestures. GetUniqueGestureID returns a TGestureID value holding the unique ID.