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:

 

[label]

{object}.GetIconSpacing

[GIVING {return}] USING [*Flags=]{flags}

 

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:

  1. If the value returned is zero, the ZERO condition flag is set.

  2. If {return} is too small to contain the spacing value, the OVER Condition Flag is set.

  3. The {flags} bit mask values are defined as follows:

  4.  

    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

 



PL/B Language Reference GetFGColorColumn Method (LISTVIEW) GetItemCheck Method (LISTVIEW)