ListBox::SetTabFieldProperties
Sets the properties of a tabulator field of the list box.
void SetTabFieldProperties (
short tabIndex,
short begPos,
short endPos,
Justification just,
Truncation trunc,
bool hasSeparator = false
);
Parameters
- tabIndex
-
1-based index of the tabulator field.
- begPos
-
The begin position of the tabulator field in pixels, relative to the
client rectangle of the list box.
- endPos
-
The end position of the tabulator field in pixels, relative to the
client rectangle of the list box.
- just
-
The Justification of the content in the
tabulator field.
- trunc
-
The way how the text of a tabulator field should be truncated if
it does not fit into the tabulator field. Use
Truncation to set the desired value.
- hasSeparator
-
If this flag is set, a vertical separator line is drawn at the right edge of the
tabulator field in each list box item.
Description
The separator line color can be set or modified by the
SetSeparatorLineColor
method.