Update cookies preferences
Promotic

Preconfiguration "Creates the PmgFrame object with formatted text in the HTML page"

Creates the PmgFrame object configured as - Creates the PmgFrame object with formatted text in the HTML page.

This preconfiguration can be activated when creating a new Pmg object.
 
This preconfiguration is included in the "/ Widgets / Widgets - Text" group.

The preconfiguration creates an object of the PmgFrame type and a PmaWebDir subobject. The script in the "OpenHtml" method opens the requested HTML page text1.htm (text2.htm, appini.htm, ...) using the Pm.CreateView method in the PmaWebDir object. This request in the PmaWebDir.onPageModify event allows to write the corresponding texts into the variables withTitle and withText. These are then used by the CreateHtml method to create a formatted HTML page with the title and content supplied in parameters.
Warning:
For the widget to work properly in the local application, it is necessary to have WebView2 (Edge) installed in Windows OS.
The component is called Microsoft Edge WebView2 Runtime version Evergreen.
Its use must be enabled in the application's INI file.
See Web browser (/#glob/webbrowser)
These configurators can be set before the preconfiguration is created:
The name of created objectName (identifier) of the Pmg object. It is used for obtaining the Pmg object by the PmgObject.Items method.
This configurator sets the initial value of the Name property.
The maximum name length is 30 characters.
This is a system name, so it must contain only alphanumeric and must not contain any diacritics (i.e. national dependent characters), empty string, spaces and first character must not be a number.
Preconfiguration:
- Creates a PmgFrame object.
- Creates the PmaWebDir subobject in the given PmaPanel object.
The preconfiguration requires support for Microsoft Edge WebView2 Runtime.
And in the application's INI file it is necessary to enter the WebView2=1 key into the [Promotic] section.
Name of the PmaWebDir subobjectName of the PmaWebDir subobject

History:
Pm9.00.24: Created
PROMOTIC 9.0.31 SCADA system documentation MICROSYS, spol. s r.o.

Send page remarkContact responsible person
Navigation:
 
 
- Creates the PmgFrame object with formatted text in the HTML page
 
 
- Creates the PmgButton object that opens HTML page with formatted text
© MICROSYS, spol. s r.o.