WEBHEIGHT Property


PLBCMP GUI Only, 9.9

square.png Objects

 

The WEBHEIGHT property specifies the height property applied to the HTML element rendered at the client browser by the PL\B Web Server. The property uses the following format:

WEBHEIGHT={height}

Note the following:

  1. WEBHEIGHT may be used in CREATE, SETPROP or GETPROP statements.

  2. The {height} is a case sensitive string.

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

  4. The WEBHEIGHT value allows the PLB program to specify the height property with values consistent to CSS syntax format as:

  5.  

    CSS Syntax:

     

    auto | length | % | initial | inherit

    Where:

    auto
    The browser calculates the height value.
    length
    Defines the height in px, cm, em, etc. (See http://www.w3schools.com/cssref/css_units.asp)
    %
    Defines the height as percent of the parent container object.
    initial
    Sets this property to its default value.
    inherit
    Inherits this property from its parent container element.

     

  6. See this link for more details on the CSS height description:

  7.  

    http://www.w3schools.com/cssref/pr_dim_height.asp

Examples:

 

Button BUTTON

.

       SETPROP Button,WEBHEIGHT="100px"

       SETPROP Button,WEBHEIGHT="15em"

 

 

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

 



PL/B Language Reference WEBCLASS Property (DATATABLE) WEBLEFT Property