Migration Guide : A. Features Introduced in OpenROAD 4.1 : OpenROAD 4.1 New Features : Drag and Drop
 
Share this page          
Drag and Drop
Drag and drop (DAD) is now supported. This is the ability to drag information from one ActiveField to another. DAD is not dragging one field to another to invoke some code; it is moving data contained in one field to another. DAD allows OpenROAD application developers to add this functionality to their application. With OpenROAD DAD, users will be able to specify the type of data that is being transferred (including user classes). Users therefore now have greater flexibility in creating objects that can be used for transferring data.
For example, in a DAD-enabled OpenROAD application, the user could select an ImageField representing a database table, and drag and drop it over a TableField that gets populated with data from the database table.
OpenROAD DAD supports the following DAD features:
Keyboard state during a drag operation
Drag operation aborted if Esc key is pressed
Cursor change when pressing the Control key during a drag operation
OpenROAD DAD has the following restrictions:
Drag and drop is not allowed among several OpenROAD applications.
Drag and drop between several forms within the same application, however, is allowed.
There is no support for dragging objects from OpenROAD to non-OpenROAD applications.
Dragging is supported with the left (primary) mouse key only.