SetAsClient Method (WINDOW)
10.5, PLBCMP GUI Only
The SetAsClient method assigns CLIENT methods to the current WINDOW. Methods may then be executed for the embedded WebView browser thead created for the current Window. The method uses the following format:
|
|
|
|
Where:
label
Optional. A Program Execution Label.
object
Required. A WINDOW object that is accessed.
return
Optional. A Numeric Variable that always returns a zero.
Flags Affected: EOS, OVER, ZERO
Note the following:
The ZERO flag is always set to True.
The EOS and OVER flag are always cleared.
When a WebView object is created on a WINDOW object, a WebView thread is created with an embedded browser.
This method is only needed if a PL/B program has WebView objects created as children on multiple WINDOW objects at the same time. In this case, the SetAsClient identifies which WebView client browser is accessed when CLIENT methods are used in a PL/B program.
See Also: Method Syntax, WINDOW Methods
![]() |