Tech Tip: Reordering with Row Property Arrays
PRODUCT: 4D | VERSION: 16 | PLATFORM: Mac & Win
Published On: April 19, 2017
With 4D v16 row level control is possible with assigning an array to contain the individual properties of the rows.
Row property arrays:
- Row Height Array : Height of the row
- Row Control Array : Hide or Show row
- Row Style Array : Stylizations of the Font (Italics, Bold, and/or Underline)
- Row Color Array : Background color of the Row
- Row Font Color Array : Color of the font of the Row
All of the arrays except for the Row Height Array will follow the rows it applied to when reordered. A way to workaround this issue, assign the height control array as a hidden column in the listbox. This will force the elements to follow the row when reordered. However the row array must be defined when adding a row to the list box.