#include <fbcontrols.h>
Drag and drop interface.
Definition at line 504 of file fbcontrols.h.
Public Member Functions | |
FBEventDragAndDrop (HKEventBase pEvent) | |
Constructor. More... | |
virtual | ~FBEventDragAndDrop () |
virtual void | Accept () |
Accept a drag and drop sequence. More... | |
virtual void | Add (FBComponent *pComponent, int pId=0) |
Add an item to the drag and drop list. More... | |
virtual FBComponent * | Get (int pIndex) |
Get the FBComponent specified by pIndex from the Drag and Drop list. More... | |
virtual void | Clear () |
Clear drag and drop list. More... | |
virtual int | GetCount () |
Get the number of items in the DragAndDrop list. More... | |
![]() | |
FBEvent (HKEvent pEvent) | |
Constructor. More... | |
Public Attributes | |
FBPropertyDragAndDropState | State |
Property: Drag and drop sub-event. More... | |
FBPropertyInt | PosX |
Property: X position of mouse. More... | |
FBPropertyInt | PosY |
Property: Y position of mouse. More... | |
FBPropertykReference | Data [2] |
Property: User specified reference. More... | |
![]() | |
FBPropertyInt | Type |
Read Only Property: Type of event. More... | |
FBEventDragAndDrop | ( | HKEventBase | pEvent | ) |
Constructor.
pEvent | Base event (internal) to obtain information from. |
|
inlinevirtual |
Definition at line 512 of file fbcontrols.h.
|
virtual |
Accept a drag and drop sequence.
This will cause the region in question to accept a drag and drop action when this event occurs.
|
virtual |
Add an item to the drag and drop list.
pComponent | Item to add to the list. |
pId | User-defined reference for the item (default = 0 ). |
|
virtual |
Clear drag and drop list.
|
virtual |
Get the FBComponent specified by pIndex from the Drag and Drop list.
pIndex | Index in list where to get FBComponent. |
|
virtual |
Get the number of items in the DragAndDrop list.
FBPropertykReference Data[2] |
Property: User specified reference.
(for example, FBSpread:row)
Definition at line 544 of file fbcontrols.h.
FBPropertyInt PosX |
Property: X position of mouse.
Definition at line 542 of file fbcontrols.h.
FBPropertyInt PosY |
Property: Y position of mouse.
Definition at line 543 of file fbcontrols.h.
Property: Drag and drop sub-event.
Definition at line 541 of file fbcontrols.h.