GetIconSpacing Method (LISTVIEW)
PLBCMP GUI Only, 9.6
The GetItemCheck method retrieves the icon spacing settings for a LISTVIEW or object. The method uses the following format:
|
|
|
|
Where:
label
Optional. A Program Execution Label.
object
Required. A LISTVIEW object that is accessed.
return
Optional. A Numeric Variable that returns the specified spacing setting value.
flags
Required. A Numeric Variable or decimal number that specifies a bit mask value that identifies the icon spacing values returned.
Flags Affected: OVER, ZERO
Note the following:
If the value returned is zero, the ZERO condition flag is set.
If {return} is too small to contain the spacing value, the OVER Condition Flag is set.
The {flags} bit mask values are defined as follows:
|
Value |
Returns the |
|
0x1 |
current vertical height. |
|
0x2 |
original horizontal width used for scaling. |
|
0x3 |
original vertical height used for scaling. |
|
0x4 |
Windows GetItemSpacing method value. The high order 16 bits is the vertical icon spacing and the low order 16 bits is the horizontal icon spacing. |
See Also: Method Syntax, LISTVIEW Methods
![]() |