HTMLCONTROL
Instructions Properties Methods Events Notes
The HTMLCONTROL object is a container which can be populated with HTML elements. The HTMLCONTROL object can exist and be used in programs executed by the runtimes PLBWIN, PLBNET, PLBSERVE, and PLBWEBSRV. To define a HTMLCONTROL, use one of the following statement formats:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Where:
label
Optional. A Data Label.
%
Optional. Denotes the item as being GLOBAL.
arraysize
Required. An integer decimal constant, CONST variable, or EQUATEd value indicating the number of array items.
^
Optional. Denotes the item as being a POINTER.
target
Required. The name of a previously defined data item of the same type.
Flags Affected: NONE
Object instructions are PL/B verbs that support the graphical objects.
|
Makes an object visible and allows the user to interact with it. | |
|
Tests whether a property is valid. | |
|
Creates all necessary data structures for an object. | |
|
Hides the object from the user. | |
|
Release the data structures obtained for an object. | |
|
Associates an event with a program execution label. | |
|
Sends an event to a specified object. | |
|
Obtain the value of a specific property. | |
|
Removes an object from a COLLECTION. | |
|
Inserts an object into a COLLECTION. | |
|
Changes the current focus. | |
|
Set the value of a specific property. |
Properties are attributes of an object that define the object's characteristics or its behavior.
|
Ties an object to one or more edges of its parent object. | |
|
Defines the background color. | |
|
Allows a user program to declare the encode format of program data being used. | |
|
Defines which borders are docked to its parent and determines how it is resized. | |
|
Defines if user interaction is allowed. | |
|
Defines the height of an object. | |
|
Returns Windows handle for an object. | |
|
Allows rendering of user program HTML. | |
|
Defines the left position of an object. | |
|
User defined identification number. | |
|
Defines the run-time name of the object. | |
|
Specifies the type of scrollbar provided. | |
|
Defines the location in the tabbing sequence. | |
|
Define the top position of an object. | |
|
Allows application data to be assigned. | |
|
Specifies whether an object is visible or hidden. | |
|
Specifies the CSS height property. | |
|
Specifies the CSS left property. | |
|
Specifies the CSS position property. | |
|
Specifies a list of CSS properties. | |
|
Specifies the CSS top property. | |
|
Specifies the CSS width property. | |
|
Defined the height of an object. | |
|
Defines the z-order of an object. |
Methods are encapsulated routines that act upon an object.
|
Adds one or more HTML classes. | |
|
Disable one or more jQuery events. | |
|
Enable one or more jQuery events. | |
|
Obtains the HTML id attrbute. | |
|
Retrieves a specific CSS style. | |
|
Removes one or more HTML classes. | |
|
Sets a specific CSS style. |
|
Controls whether a right-click action on a HTMLCONTROL allows a Windows context menu to appear. | |
|
Changes focus to a HTML element. | |
|
Retrieves HTML element attributes. | |
|
Retrieves the checked attribute as a boolean from a HTML element. | |
|
Retrieves the class attribute from a HTML element. | |
|
Retrieves the style of a HTML element. | |
|
Retrieves the disabled attribute as a boolean from a HTML element. | |
|
Retrieves the data-plbenable attribute from a HTML element. | |
|
Retrieves the data-plbevent attribute from a HTML element. | |
|
Retrieves the inner HTML from a HTML element. | |
|
Retrieves the data-plbtabid attribute from a HTML element. | |
|
Retrieves the text from a HTML element. | |
|
Retrieves the value of HTML form elements such as input, select and textarea. | |
|
Load a HTML page. | |
|
Load a HTML page from a file. | |
|
Stores the contents of a HTMLCONTROL object into a PICT object. | |
|
Assigns CLIENT methods to the HTMLCONTROL object | |
|
Changes low level HTML element attributes. | |
|
Changes the checked attribute of a HTML element using a boolean. | |
|
Changes the class attribute in a HTML element. | |
|
Changes the style of an HTML element. | |
|
Changes the disabled attribute of a HTML element using a boolean. | |
|
Changes the data-plbenable attribute of a HTML element. | |
|
Changes the data-plbevent attribute of a HTML element. | |
|
Changes | |
|
Changes the data-plbtabid attribute of a HTML element. | |
|
Changes | |
|
Changes the value of HTML form elements such as input, select and textarea | |
|
Scans the HTML elements and processes all data-plbevent, data-plbenable, and data-plbtabid attributes. |
Events are actions recognized by an object for which you can write code to respond. Events can occur as a result of a user action or program code, or they can be triggered by the system.
|
Occurs when a javascript event has occurred with a HTML object. |
The HTMLCONTROL object is a specialized container that can be populated with HTML elements. The HTML elements are defined in the InnerHtml property data stream which can be simple HTML elements or a complex web page with supporting JavaScript, CSS, and HTML objects.
When HTML elements are created in a HTMLCONTROL, they are enabled, disabled, hidden, made visible, or destroyed when one of these actions take place on the HTMLCONTROL.
Multi-dimension arrays are supported to a maximum of fourteen dimensions.
The ^ denotes Pointer Variable.
Although a HTMLCONTROL may be defined as Global, it is DESTROYed during a CHAIN instruction..
See Also: Web Technologies WebView2 Support Object Definitions, Object Output Instructions
![]() |