Drag and drop interface.
More...
#include <fbcontrols.h>
|
| | FBEventDragAndDrop (HKEventBase pEvent) |
| | Constructor.
|
| |
| virtual void | Accept () |
| | Accept a drag and drop sequence.
|
| |
| virtual void | Add (FBComponent *pComponent, int pId=0) |
| | Add an item to the drag and drop list.
|
| |
| virtual FBComponent * | Get (int pIndex) |
| | Get the FBComponent specified by pIndex from the Drag and Drop list.
|
| |
| virtual void | Clear () |
| | Clear drag and drop list.
|
| |
| virtual int | GetCount () |
| | Get the number of items in the DragAndDrop list.
|
| |
| | FBEvent (HKEvent pEvent) |
| | Constructor.
|
| |
Drag and drop interface.
Definition at line 510 of file fbcontrols.h.
◆ FBEventDragAndDrop()
Constructor.
- Parameters
-
| pEvent | Base event (internal) to obtain information from. |
◆ Accept()
Accept a drag and drop sequence.
This will cause the region in question to accept a drag and drop action when this event occurs.
◆ Add()
| virtual void Add |
( |
FBComponent * |
pComponent, |
|
|
int |
pId = 0 |
|
) |
| |
|
virtual |
Add an item to the drag and drop list.
- Parameters
-
| pComponent | Item to add to the list. |
| pId | User-defined reference for the item (default = 0 ). |
◆ Clear()
Clear drag and drop list.
◆ Get()
Get the FBComponent specified by pIndex from the Drag and Drop list.
- Parameters
-
- Returns
- Handle to FBComponent in list at pIndex.
◆ GetCount()
Get the number of items in the DragAndDrop list.
- Returns
- Number of items in DragAndDrop list.
◆ Data
◆ PosX
Property: X position of mouse.
Definition at line 548 of file fbcontrols.h.
◆ PosY
Property: Y position of mouse.
Definition at line 549 of file fbcontrols.h.
◆ State
| FBPropertyDragAndDropState State |
Property: Drag and drop sub-event.
Definition at line 547 of file fbcontrols.h.
The documentation for this class was generated from the following file: