Migration Guide > Migration Guide > I. Features Introduced in OpenROAD 6.2 > Changes to Existing Features > Drag-and-Drop Enabled on Empty TableFields, ListFields, and Rows
Was this helpful?
Drag-and-Drop Enabled on Empty TableFields, ListFields, and Rows
Formerly, it was not possible to drag and drop a selection onto an empty TableField, ListviewField, or empty row. This capability is added with the addition of the Drop_Row attribute to the TableField and ListviewField classes:
TableField Drop_Row Attribute
Data Type: integer
4GL Access: RW
During a drag-and-drop operation, the Drop_Row attribute is set to the row number on which the drop occurred. If the TableField is empty, the Drop_Row is set to 0. If the drop occurred on an empty row, Drop_Row is set to the LastRow + 1 of the TableField array.
ListviewField Drop_Row Attribute
Data Type: integer
4GL Access: RW
During a drag-and-drop operation, the Drop_Row attribute is set to the row number on which the drop occurred. If the ListviewField is empty, the Drop_Row is set to 0. If the drop occurred on an empty row, Drop_Row is set to the LastRow + 1 of the ColAttributes array.
For more information, see the corresponding classes in the Language Reference Guide.
Last modified date: 06/25/2024