Smartframe is an executable, looksoftware.SmartFrame.exe
, which contains it's own Chromium-based browser, allowing you to load a custom HTML and JavaScript framework, that surrounds, and interacts with, the Smartframe Newlook Control using the Smartframe Newlook Control API.
All Smartframe templates installed with Newlook Developer, include a Smartframe.HTML file, which hosts the Smartframe Newlook Control. The object can be found inside the RuntimeContainer
div and is represented by the following object tag:
<object id="newlook" classid=CLSID:CFFE5E18-79B9-431C-8CE2-AE55A16E7C09>
<param ... />
</object>
This object represents the Smartframe Newlook Control.
When embedded in a HTML page, the Smartframe Newlook Control provides the following startup parameters, properties, events and methods which you can use to interact with it:
Parameter |
Description |
This startup parameter determines the back color of certain Smartframe Newlook control toolbar elements (typically used to set the background color of the title bar and function key bar for pop ups forms). |
|
This startup parameter determines the text color of certain toolbar elements in the Smartframe Newlook Control (typically used to set the color of title bar text for pop up forms). |
|
This startup parameter of the Smartframe Newlook Control prevents the connection progress dialog window from displaying when a session is connecting. |
|
|
|
This startup parameter allows you to specify which events will be triggered in hidden sessions running in the Smartframe Newlook Control. |
|
This parameter determines the command line parameters to run when the Smartframe Newlook Control starts. |
Property |
Description |
Read only. Returns a structure containing the recommended client Width and Height to prevent scrollbars from displaying. |
Event |
Description |
This event is triggered each time the user connects or disconnects in the Newlook Control. |
|
This event is triggered each time the DesiredClientSize property of the Smartframe Newlook Control changes. |
|
This event is triggered each time a new array of function keys is received in the Newlook Control. |
|
This event is triggered when an added form is opened in the Newlook Control. |
|
This event is triggered each time a new screen is received from the host in the Newlook Control. |
|
This event is triggered each time a screen is refreshed in the Newlook Control. |
|
This event is triggered each time a screen is sent back to the host in the Newlook Control. |
|
This event is triggered when the host session status changes in the Newlook Control. |
|
This event is triggered when the screen title changes in the Newlook Control. |
|
This event is triggered each time the user switches between GUI and Emulator mode in the Newlook Control. |
Method |
Description |
Retrieves data from the Newlook control as a JSON formatted string. |
|
Retrieves the value of a variable or object property from the Newlook Control. |
|
Enables direct calls to any Newlook object method. |
|
Runs the specified Newlook macro. |
|
Issues keystrokes to the Newlook Control. |
|
Sets the value of a Newlook variable or object property. |
Customizing Smartframe templates
System.TriggerExternalEvent method
© 2004-2021 looksoftware. All rights reserved.