Auto-complete enhancement: The COLDEF portion of the SETDEF string may now contain more than one XTREE column definition, provided that the primary column (the one that corresponds to the edit field) is the first real column, and that the list items in the SETDEF list conform to the COLDEF. As an example, to give some items in the list a special background color, you might define a second column to contain the color code, plus a pseudo-column to define the RGBbg value:
SETDEF = "0~0~x~H~RGBbg=220,230,240,A~~1~10~x~S~~11~1~x~cH~~~" &
+ ",Apples A,Bananas ,Peaches A,Watermelon ,,"
In the above list, we defined an RGBbg value associated with a pseudo-column, then defined 2 real columns - the first ten characters long (the primary column) and the last one character to contain the color code. The list then specifies the color code "A" for Apples and Peaches, so those two items would appear in the auto-complete list with the specified background color. Note that each item in the list (as measured by the space between the delimiters) must match the total length of all the real columns (11 in this example).