Controls > Advanced Controls > List Box > List Box Format Properties
List Box Format Properties
RightAlignedText
The RightAlignedText property sets or gets a value that determines whether the text is right-justified. Right justification is often useful for numerical inputs.
JScript
var bMode = ListBox.RightAlignedText();
ListBox.RightAlignedText(bMode);
VBscript
bMode = ListBox.RightAlignedText
ListBox.RightAlignedText = bMode
Element
Description
bMode
true— indicates that the text is right-justified.
false—indicates that the text is not right-justified.
Sort
The Sort property sets or gets whether the list box items are displayed in alphabetical order. Sorting affects only the display. Internally, the items remain in the original order of indexing.
JScript
bMode = ListBox.Sort();
ListBox.Sort(bMode);
VBscript
bMode = ListBox.Sort
ListBox.Sort = bMode
Element
Description
bMode
true—indicates that contents of list box is sorted
false—indicates that contents appear in order of entry in the script.
Was this helpful?