Vcl.ExtCtrls.TBandDragEvent

提供: RAD Studio API Documentation
移動先: 案内検索

C++

typedef void __fastcall (__closure *TBandDragEvent)(System::TObject* Sender, Vcl::Controls::TControl* Control, bool &Drag);

プロパティ

種類 可視性 ソース ユニット
typedef public Vcl.ExtCtrls.hpp Vcl.ExtCtrls Vcl.ExtCtrls

説明

TBandDragEvent は、バンドの Vcl.ExtCtrls.TControlBar.OnBandDrag イベントおよび Vcl.ExtCtrls.TCustomControlBar.OnBandDrag イベントのハンドラの型です。


Sender は、ユーザーがドラッグしようとしているコントロールが格納されているコントロール バー オブジェクトです。

Control は Sender の子で、ユーザーがドラッグしようとしているものです。

Drag パラメータを false に変更すると、ドラッグ操作を防ぐことができます。イベント ハンドラの終了時に Drag パラメータが true のままであれば、ドラッグ操作は続行されます。

関連項目