You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

ドラッグのイメージとして使用されるポップアップパネル
DragList (PRIM_DGLT) のメンバ
データタイプ - PRIM_PPNL - ポップアップ

詳細


DragPopup プロパティ は、カーソルとともに表示される Popup panel への参照です。
DragPopup を使用するには、 DragListStyle を Popup に設定する必要があります。


この例では、 StartDrag イベントは、 MyDragPopup という再利用可能な部分に定義された DragPopup を使用するように定義されています。
ポップアップはユーザー定義であるため、ドラッグに関する関連情報を表示するように簡単に構成できます。ここでは、ドラッグされている選択項目の数がポップアップに渡されます。
Evtroutine Handling(#Com_owner.StartDrag) Draglist(#DragList)
#DragList.DragListStyle := Popup
#DragList.DragPopup <= #MyDragPopup
#MyDragPopup.Caption := #SelectedItemCount
Endroutine

参照

すべてのコンポーネント クラス
テクニカルリファレンス

  • No labels