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

SmallPictureHeight – PB Docs 2019 – PowerBuilder Library

SmallPictureHeight – PB Docs 2019

SmallPictureHeight

property for PowerScript controls

Applies to

ListView controls

Description

The SmallPictureHeight property specifies the display height of all
the pictures in the Small Icon view of the ListView control. The size is
specified in pixels.

If you choose the value (Default) in the painter, or set the value
to 0, PowerBuilder uses the height of the first picture in the array as
the height for all the pictures. The other choices in the painter, 16 and
32, are standard pixel heights for icons.

The type of picture used is determined by the value of the View
property of the control.

Usage

In a painter

To set the small picture height:

  • Select a value from the Height drop-down list on the Small
    Picture tab page of the control’s Properties view.

In scripts

The SmallPictureHeight property takes an integer value. This value
can be set only before the first call to the AddSmallPicture function or
after calling DeleteSmallPictures. If this value is set to 0, then the
size of the first picture is used to set the size of small
pictures.

The following line sets the height for small pictures in a ListView
to 16 pixels:

For more information about scripting ListView controls, see the section called “Using
ListView controls”
in Application Techniques.


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