INDENT Property


PLBCMP GUI Only

 

The INDENT property defines the width of the indentation between parent and child items in a TREEVIEW object. The property uses the following format:

 

INDENT={value}

Note the following:

  1. INDENT may be used in CREATE, SETPROP, or GETPROP statements of a TREEVIEW object.

  2. {value} is a decimal number, a Numeric Variable, or an Expression defining the number of pixels for indentation.

  3. If a TREEVIEW object has the BUTTONS property turned on and an IMAGELIST is used or changed, the {value} is set to the Windows OS default value. This behavior is required by the Windows OS to insure proper operation by the TREEVIEW control when a TREEVIEW button is clicked. This behavior is expected as follows:
     

    1. When the TREEVIEW is being created.

    2. When the IMAGELIST property is changed using SETPROP.

    3. When the SetImageList method is executed.

    4. When an imagelist is altered or removed.

 

 

See Also: Object Properties, Object IO Instructions, Object Definitions

 



PL/B Language Reference IMAGESIZEV Property INDEX Property