NEGMENUS Property


PLBCMP GUI Only

 

The NEGMENUS property identifies whether the runtime should negotiate menu usage for a CONTAINER object created on the WINDOW. The property uses the following format:

NEGMENUS={value}

Note the following:

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

  2. When the NEGMENUS property is set to $ON, user PL/B MENU string controls named below identify the positioning of a form's top level menu items as integrated with the menu items for a CONTAINER object. If none of these controls are specified, the PL/B window menu items are replaced by the menu items for a CONTAINER object when the CONTAINER has the focus and the PL/B window menu items are available when the CONTAINER does not have the focus. The menu string controls are defined as follows:

  3.  

    Control

    A top level PL/B menu item is placed ...

    -l or -L

    to the left of the menu items for a CONTAINER object.

    -r or -R

    to the right of the menu items for a CONTAINER object.

    -m or -M

    into the middle of the menu items for a CONTAINER object. The actual placement of the top level PL/B menu item in this case is actually controlled by the current CONTAINER object being executed.

 

  1. {value} is a decimal number, a Numeric Variable, an Expression, or a keyword as defined in PLBEQU.INC. The supported values and keywords are:

  2.  

    Value

    Keyword

    Menu negotiation is ...

    0

    $OFF

    disabled. (default)

    1

    $ON

    enabled.

     

  3. This property is not available when using the PL/B Web Server.

 

 

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

 



PL/B Language Reference NEGBORDERS Property NOAUTOZOOM Property