The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....



InterRowIndicatorPos


Unit:SDL_replist
Class:TReportListView
Declaration:property InterRowIndicatorPos: integer;

The property InterRowIndicatorPos allows to display a colored line between two rows of the string grid. This feature can be especially useful for drag and drop actions when a new row has to be inserted between two existing rows. The colored line is displayed just above the row it references.

InterRowIndicatorPos may assume values between 1 and NrOfRows+1. If InterRowIndicatorPos is set to a value below or above this range the indicator line is switched off. The thickness and the color of the line can be controlled by the properties InterRowIndicatorWidth and InterRowIndicatorColor.

Example: REPLDRAGDROP.DPR
  This application shows how to drag and drop selected rows of a TReportListView control onto the another TReportListView control.


Last Update: 2012-Oct-20