This reference page is linked to from the following overview topics: Events & callbacks.
Drag and drop interface.
Definition at line 496 of file fbcontrols.h.
#include <fbcontrols.h>
Public Member Functions |
|
FBEventDragAndDrop (HKEventBase pEvent) | |
Constructor. |
|
virtual void | Accept () |
Accept a drag and drop sequence. |
|
virtual void | Add (HFBComponent pComponent, int pId=0) |
Add an item to the drag and drop list.
|
|
virtual HFBComponent | 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. |
|
Public Attributes |
|
FBPropertyDragAndDropState | State |
Property: Drag and drop sub-event.
|
|
FBPropertyInt | PosX |
Property: X position of mouse.
|
|
FBPropertyInt | PosY |
Property: Y position of mouse.
|
|
FBPropertykReference | Data [2] |
Property: User specified reference.
|
FBEventDragAndDrop | ( | HKEventBase | pEvent | ) |
Constructor.
pEvent | Base event (internal) to obtain information from. |
virtual void Accept | ( | ) | [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 void Add | ( | HFBComponent | pComponent, |
int | pId = 0 |
||
) | [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 HFBComponent Get | ( | int | pIndex | ) | [virtual] |
Get the FBComponent specified by pIndex from the Drag and Drop list.
pIndex | Index in list where to get FBComponent. |
virtual void Clear | ( | ) | [virtual] |
Clear drag and drop list.
virtual int GetCount | ( | ) | [virtual] |
Get the number of items in the DragAndDrop list.
FBPropertyDragAndDropState State |
Property: Drag and drop sub-event.
Definition at line 531 of file fbcontrols.h.
Property: X position of mouse.
Definition at line 532 of file fbcontrols.h.
Property: Y position of mouse.
Definition at line 533 of file fbcontrols.h.
Property: User specified reference.
(for example, FBSpread:row)
Definition at line 534 of file fbcontrols.h.