Sorted property for PowerScript controls
Controls
DropDownListBox, DropDownPictureListBox, ListBox, PictureListBox controls
Description
Items in a list box can be sorted alphabetically. If the Sorted
property is enabled, the items in the list box are sorted in ascending
order. If this property is not enabled, the items in the list box
are not sorted and are displayed in the order in which they were
added.
Usage
In a painter
To enable automatic sorting:
-
Select the Sorted check box on the General
page of the control’s Properties view.
In scripts
The Sorted property takes a boolean value. The following line
specifies that items in the ListBox lb_1 are
sorted:
1 |
lb_1.Sorted = TRUE |
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments