Connection Information

To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.

Connection Type

Syntax for ListBox, DropDownListBox, PictureListBox, and DropDownPictureListBox controls – PB Docs 2019 – PowerBuilder Library

Syntax for ListBox, DropDownListBox, PictureListBox, and DropDownPictureListBox controls – PB Docs 2019

Syntax for ListBox, DropDownListBox, PictureListBox, and
DropDownPictureListBox controls

Description

Obtains the text of an item in a ListBox control.

Applies to

ListBox, DropDownListBox, PictureListBox, and
DropDownPictureListBox controls

Syntax

Argument

Description

listboxname

The name of the ListBox control in which you want the
text of an item

index

The number of the item for which you want the
text

Return value

String.

Returns the text of the item in listboxname identified by index.
If the index does not point to a valid item number, Text returns the
empty string (“”). If any argument’s value is null, Text returns
null.

Examples

Assume the ListBox lb_Cities contains:

Atlanta

Boston

Chicago

Then these statements store the text of item 3, which is Chicago,
in current_city:

See also

FindItem

SelectedItem

SelectedText


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