Public Member Functions | Public Attributes

FBEventDragAndDrop Class Reference

This reference page is linked to from the following overview topics: Events & callbacks.


Search for all occurrences

Detailed Description

Drag and drop interface.

Definition at line 496 of file fbcontrols.h.

#include <fbcontrols.h>

Inheritance diagram for FBEventDragAndDrop:
Inheritance graph
[legend]

List of all members.

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.

Constructor & Destructor Documentation

FBEventDragAndDrop ( HKEventBase  pEvent )

Constructor.

Parameters:
pEvent Base event (internal) to obtain information from.

Member Function Documentation

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.

Parameters:
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.

Parameters:
pIndex Index in list where to get FBComponent.
Returns:
Handle to FBComponent in list at pIndex.
virtual void Clear ( ) [virtual]

Clear drag and drop list.

virtual int GetCount ( ) [virtual]

Get the number of items in the DragAndDrop list.

Returns:
Number of items in DragAndDrop list.

Member Data Documentation

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.


The documentation for this class was generated from the following file:

FBEventDragAndDrop FBEventDragAndDrop FBEventDragAndDrop FBEventDragAndDrop FBEventDragAndDrop FBEventDragAndDrop FBEventDragAndDrop FBEventDragAndDrop FBEventDragAndDrop FBEventDragAndDrop
FBEventDragAndDrop FBEventDragAndDrop FBEventDragAndDrop FBEventDragAndDrop FBEventDragAndDrop FBEventDragAndDrop FBEventDragAndDrop FBEventDragAndDrop FBEventDragAndDrop FBEventDragAndDrop