V        |

The SetTabulators method sets the tabulators for the associated list box control. This enables you to use items containing tab characters ("09"x), which is useful if you want to format the list in more than one column when using proportional fonts.


The only argument is:


The position or positions of the tabs relative to the left edge of the list box, in dialog units.

Return value:

1 if an error occurred.


The following example creates a list that can handle up to three tabulators in a list entry. The tabulator positions are 10, 20, and 30.

lb = MyDialog~GetListBox(102)
if lb == .Nil then return
lb~SetTabulators(10, 20, 30)
lb~Add(textcol1 || "09"x || textcol2 || "09"x || textcol3 || "09"x ||,