AUTOSCROLL Property


PLBCMP GUI Only

 

The AUTOSCROLL property controls automatic scrollbar handling for an object. The property uses the following format:

 

AUTOSCROLL[={value}]

Note the following:

  1. AUTOSCROLL may be used in CREATE, SETPROP, or GETPROP statements of WINDOW or PANEL objects.

  2. This property is used in conjunction with the MINSCROLLH, MINSCROLLV, and SCROLLBAR properties.

  3. If the object is sized less than the MINSCROLLH or MINSCROLLV property, a scrollbar is shown and scrolling is automatically handled by the runtime.

  4. When automatic scrolling is on, the client area of the object automatically scrolls to make the control with input focus visible.

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

  6.  

    Value

    Keyword

    Automatic scrolling is ...

    0

    $OFF

    disabled. (default)

    1

    $ON

    enabled.

     

  7. 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 AUTOSCALE Property AUTOSIZE Property