Multi-Row ListBox Headers - use a LineFeed <10>


#1

Have you ever wanted a list box column header to have more than one row ?
Have you used a group to get two rows (but don’t want the horizontal line?)

Now you can, just add a linefeed <10> to the column header and it will add another row.

Below is part of a listbox header,
It starts with a GROUP (notice the horizontal line)
Then there are two columns after that, that appear on two rows.

Below is part of the prop:format for that listbox (Note: ‘[’ … ‘]’ is a group)

  & '['  &  '31L(1)' & '|'   & 'Y' & '~Imperial~'    & 'C'     & '@[email protected]'  | 
         &  '29L'    & '|'   & 'Y' & '~Metric~'      & 'C'     & '@[email protected]'  | 
  &  ']' & '(59)'    & '|'         & '~Units~'                           |
                                                                         |
  &         '27L(1)' & '|'   & 'Y' & '~Unit<10>Descr~'         & '@[email protected]'  | 
  &         '58C'    & '|'   & 'Y' & '~Default<10>Unit Type~'  & '@[email protected]' | 

Note: this tip was pointed out on the ClarionLive Skype chat by Bruce Johnson,
who in turn learned about it on the Newsgroups from Kelvin Chua


#2

Mark, does the <10> feature work even if there is not a header GROUP some where else in the format?


#3

Yes it does, NO GROUP Required.
I just wanted to a show a group for comparison