Intermec 760 Guia Do Utilizador

Página de 82
 
iBrowse User’s Guide
57
iBrowse Custom Edit Control
The iBrowse custom edit control (ITCAXEdit.DLL) is automatically 
installed with the iBrowse application. Although ITCAXEdit is not 
required, it provides additional functionality beyond what the standard edit 
box provides. Note that the custom edit control is only available on 
computers running Windows Mobile.
Using the ITCAXEdit Control on a Web Page
Instantiate the control once for each edit box that needs to go on a page. 
Thus, a page with five edit boxes needs to instantiate ITCAXEdit five 
times. Do the instantiation in the HTML source where the control is 
needed.
Example
This source creates a simple page with two edit boxes. The first one is 
named IBEAX1 and the second is named IBEAX2.
<HTML>
<HEAD></HEAD>
<BODY>
EditBox1 <OBJECT ID=”IBEAX1” CLASSID=”CLSID:D8A6AACE-0F02-
4440-8F07-64CF68F33DE9” WIDTH=”50” HEIGHT=”25”>
<br>
EditBox2 <OBJECT ID=”IBEAX2” CLASSID=”CLSID:D8A6AACE-0F02-
4440-8F07-64CF68F33DE9” WIDTH=”50” HEIGHT=”25”>
<br>
</BODY>
</HTML>
ITCAXEdit Parameters and Functions
You can call all functions using the <PARAM> tag when instantiating the 
control or from JavaScript code in the HTML.
ALIGNMENT
ALIGNMENT controls the justification of the text in the Edit Box. 
Password fields are automatically left-aligned.
Syntax
/*[out, retval]*/ BSTR *pVal 
/*[in]*/ BSTR newVal);
Note: ITCAXEdit control is not supported on Windows CE computers.
Value
Action
LEFT
Forces the text to left-justified (default)
RIGHT
Forces the text to right-justified
CENTER
Centers the text in the edit box