This reference page is linked to from the following overview topics: Events & callbacks.
Drag and drop interface.
Definition at line 504 of file fbcontrols.h.
#include <fbcontrols.h>
Public Member Functions | |
FBEventDragAndDrop (HKEventBase pEvent) | |
Constructor. | |
virtual | ~FBEventDragAndDrop () |
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. | |
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 ~FBEventDragAndDrop | ( | ) | [inline, virtual] |
Definition at line 512 of file fbcontrols.h.
{}
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 | ( | FBComponent * | 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 FBComponent* 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 541 of file fbcontrols.h.
Property: X position of mouse.
Definition at line 542 of file fbcontrols.h.
Property: Y position of mouse.
Definition at line 543 of file fbcontrols.h.
Property: User specified reference.
(for example, FBSpread:row)
Definition at line 544 of file fbcontrols.h.