URLComboBox ActiveX Control
URL address ComboBox control.
Members Table
The following table lists the members provided by the URLComboBox ActiveX control.
|
Properties |
Description |
BackColor |
Background color of the address field. |
Font |
Font of the text. |
ForeColor |
Color of the text. |
Text |
Text of the address field. |
|
Methods |
Description |
Navigate |
Navigates to the specified URL. |
|
Remarks
This ActiveX control is available in the form of scripts that can be used in combination with SiteKiosk.
Use the URLComboBox control to display an address ComboBox which the user can use to navigate to arbitrary URLs. While the user enters text into the combo box an auto-complete popup will show the user similar URLs that were typed in before. The URLComobBox control automatically synchronizes its content with the current browser history of the corresponding SiteKioskWebBrowser object.
To initialize the ActiveX control use the OBJECT tag and, in particular, the classID to identify the control.
Set the initial object properties between the opening and closing OBJECT tags with PARAM tags.
At a later point in time it will also be possible to access/modify these properties by means of scripts.
CLSID
973BD82B-0F81-4C42-A222-C42CA47DA1D3
Examples
The following example creates a new address field and displays its current text when the link is clicked.
<html>
<head>
<SCRIPT TYPE="text/javascript">
function ShowProp()
{
alert(document.all['URLComboBox'].Text);
}
</SCRIPT>
</head>
<body>
<OBJECT ID="URLComboBox" width="300" height="22px"
CLASSID="CLSID:973BD82B-0F81-4C42-A222-C42CA47DA1D3">
<PARAM NAME="BackColor" value="16777215">
<PARAM NAME="FontName" VALUE="Tahoma">
<PARAM NAME="FontSize" VALUE="8.00">
<PARAM NAME="FontBold" VALUE="0">
<PARAM NAME="FontItalic" VALUE="0">
<PARAM NAME="ForeColor" VALUE="65280">
</OBJECT>
<br><br>
<a href="javascript:ShowProp()">Show Text property</a>
</body>
</html>
|
Applies to
SiteKiosk v5.0 (and later versions).
Back to top