WEBMODE Property


PLBCMP GUI Only, 10.5

 

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

WEBMODE={value}

Note the following:

  1. WEBMODE may be used in CREATE, SETPROP or GETPROP statements of an HTMLCONTROL or WINDOW object.

  2. This property only takes affect when it is used in the CREATE statement for a HTMLCONTROL or WINDOW object. Once these objects have been created using the WEBMODE setting, the mode remains in effect until the objects are destroyed.

  3. The {value} is a Numeric Variable or Decimal number that identifies the current web mode to use. The allowed values are defined as follows:

  4.  

    Value

    WebMode processing uses ...

    0

    the current runtime default setting. See the PL/B runtime keyword named 'PLBWIN_WEBMODEHTMLCTRL' for additional information

    1

    uses Win32 controls. For HTMLCONTROL, the normal Windows runtime operations are processed using Windows 'IWebBrowser2' interface. Otherwise, the normal Windows controls are used.

    2

    may use Win32 or WebView2 controls.

    3

    only uses WebView2 controls. In this case, these objects are created using the Microsoft Edge WebView2 interface.

 

 

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

 



PL/B Language Reference WEBLEFT Property WEBPOSITION Property