RIBMODE Property


PLBCMP GUI Only, 9.6

 

The RIBMODE property controls the displaying of a ribbon resource. The property uses the following format:

 

RIBMODE={value}

Note the following:

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

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

  3.  

    Value

    Keyword

    Behavior

    0

    $ShowRibModeAll

    The ribbon size will be used to resize the window, and shift all other objects down on the window. (default).

    1

    $ShowRibModeDockOnly

    The current size of the ribbon is added to the DOCKPADT padding size. This mode is useful when the other controls on a window are docked. If controls are used that are not docked, then a ribbon can overlay those controls when this ribbon mode is used.

     

  4. This property requres the use of ComCtrl32 version 6 or later.

  5. 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 RIBDLL Property RIBNAME Property