Sorted – PB Docs 150

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

proc.png To enable automatic sorting:

  1. 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:


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x