INFLD auto-complete enhancement: it is now possible to change the width of the list box to be something other than the same width of the edit field. This can be useful when you want to show more information (i.e. more columns). To accomplish this, insert a prefix at the start of the SETDEF parameter of the form [widthspec], where widthspec may be:
Prefix |
Result |
---|---|
+### |
increase list width by ### columns |
-### |
increase list width by ### columns (but start ### columns to the left of the field) |
### |
set width to ### columns (starting in the same column as field) |
For example:
SETDEF = "[+4]1~10~x~S~~11~4~x~S~~~" + ITEMLIST$
The above SETDEF defines 2 columns (1-10 and 11-14), and adds 4 to the list width (so it is 4 columns wider than the field, which is presumably 10 columns wide to match the first column of the list.)