For example:
... -formatList {{ICON 2} {STRING 20} {STRING 15}} \ -fieldList [list 1 "John Doe" "555-1212"] ...
{ TYPE WIDTH [Left_Margin, Right_Margin] }The left and right margins are optional parameters. The following specifies a column that is of type ICON, with a width of 1 icon width and a left and right margin of 5 pixels:
{ ICON 1 5 5 }Valid types are ICON, STRING, and DATA. DATA is not displayed on the screen; it is used to store item specific data.
An example of a formatList is:
-formatList { {ICON 3} {STRING 20 5} {DATA} }The first column is an icon field with a width of 3, the second column contains a string with a width of 20 and a left margin of 5, the third column contains hidden data.
smallPlainFont smallBoldFont smallItalicFont medPlainFont medBoldFont medItalicFont largePlainFont largeBoldFont largeItalicFont monoNormalFont monoBoldFont monoItalicFontThis option only applies to the graphical environment.
{ { 0 1 "field one" "field two"} { 1 1 "field one" "field two"} { 1 3 "field one" "field two"} }
For example:
... VtDrawnListAddItem $lst \ -formatList {{ICON 5} {STRING 20 5}} \ -fieldList {"CONNECT_I NO_ICON 1 CONNECT_H 2" "Multiple icons" }