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

View – PB Docs 2021 – PowerBuilder Library

View – PB Docs 2021

View

property for PowerScript controls

Applies to

ListView controls

Description

A ListView has four ways to display its items:

  • Large icon view

    Items are arranged from left to right and the user can move
    items around when drag and drop is enabled. Each item’s picture is
    taken from the large picture list, and the item label is below the
    picture.

  • Small icon view

    Same as large icon view except each item’s picture is taken from
    the small picture list, and the item label is to the right of the
    picture.

  • List view

    Items are arranged from top to bottom. Each item’s picture is
    taken from the small picture array.

  • Report view

    Items are arranged from top to bottom with one or more columns
    of information for each item. You must write a script to set up the
    columns.

Usage

In a painter

To select the view type:

  • Select the desired view type from the View drop-down list on the
    General page of the control’s Properties view.

In scripts

The View property takes a value of the ListViewView enumerated
datatype.

The following line specifies that small pictures appear for the
items in the ListBox:


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