PARENTWIN Property


PLBCMP GUI Only

 

The PARENTWIN property associates a WINDOW object with a parent window. The property uses the following format:

PARENTWIN={value}

Note the following:

  1. PARENTWIN may be used in CREATE, SETPROP, or GETPROP statements of a WINDOW object.

  2. {value} specifies the parent window object for CREATE and SETPROP statements.

  3. {value} returns the parent window handle in GETPROP statements.

  4. If a WINDOW object specified for the PARENTWIN property has not been created, an O121 error will occur.

  5. A WINDOW object that has been created as a MODAL or MODELESS type cannot be the parent for another window. An O134 error will occur if a MODAL or MODELESS window is specified as a parent window.

  6. An O134 error will occur if this property is specified for a MODAL WINDOW object. A parent window cannot be specified for a MODAL WINDOW object.

  7. The PARENTWIN property can be used for any window created as a PRIMARY or MODELESS type.

  8. If a parent window is DESTROYed, any windows that are associated with the parent will also be destroyed.

 

 

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

 



PL/B Language Reference PAGESIZE Property PARTIALPUSH Property