LargePictureHeight property for PowerScript controls
The LargePictureHeight property specifies the display height
of all the pictures in the Large 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.
In a painter
To set the large picture height:
Select a value from the Height drop-down
list on the Large Picture tab page of the control’s Properties
The LargePictureHeight property takes an integer value. This
value can be set only before the first call to the AddLargePicture function
or after calling DeleteLargePictures. If this
value is set to 0, then the size of the first picture is used to
set the size of large pictures.
The following line sets the height for large pictures in a
ListView to 32 pixels:
lv_1.LargePictureHeight = 32
For more information about scripting ListView controls, see “Using
ListView controls” in Application Techniques.