Vcl.ActnMenus.TCustomMenuExpandBtn.DragOver
Delphi
procedure DragOver(Source: TObject; X: Integer; Y: Integer; State: TDragState; var Accept: Boolean); override;
C++
DYNAMIC void __fastcall DragOver(System::TObject* Source, int X, int Y, System::Uitypes::TDragState State, bool &Accept);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | Vcl.ActnMenus.pas Vcl.ActnMenus.hpp |
Vcl.ActnMenus | TCustomMenuExpandBtn |
Description
Is an OnDragOver event dispatcher.
An expand button does not participate in drag-and-drop operations. DragOver sets Accept
to False to indicate that the user cannot drop the dragged object, Source
, on an expand button.