Fontname - Intermec 730 User Manual

Intermec 730: user guide
Hide thumbs Also See for 730:
Table of Contents

Advertisement

62
Example
Creates a single edit box with italic text.
<HTML>
<HEAD></HEAD>
<BODY>
EditBox1 <OBJECT ID="IBEAX1" CLASSID="CLSID:D8A6AACE-0F02-
4440-8F07-64CF68F33DE9" WIDTH="50" HEIGHT="25">
<PARAM NAME="FONTITALIC" VALUE="TRUE"
</BODY>
<!- - OR - - >
<SCRIPT LANGUAGE="JSCRIPT">
IBEAX1.FONTITALIC = true;
</SCRIPT>
</HTML>

FONTNAME

FONTNAME controls which font is used when text is displayed in the edit
box. Any font loaded on the system is a valid parameter. Available fonts are
dependent on the hardware used. JavaScript code can get and set the
FONTNAME value. If the font name is not found in the system, a system-
selected font is used.
Syntax
/*[out, retval]*/ BSTR *pVal
/*[in]*/ BSTR newVal);
Value
Any font loaded on the mobile computer.
For example, Tahoma, Courier New, Arial,
Lucinda Console, MS Sans Serif
Example
Creates a single edit box using the Courier New font.
<HTML>
<HEAD></HEAD>
<BODY>
EditBox1 <OBJECT ID="IBEAX1" CLASSID="CLSID:D8A6AACE-0F02-
4440-8F07-64CF68F33DE9" WIDTH="50" HEIGHT="25">
<PARAM NAME="FONTNAME" VALUE=" Courier New"
</BODY>
<!- - OR - - >
<SCRIPT LANGUAGE="JSCRIPT">
IBEAX1.FONTNAME = 'Courier New';
</SCRIPT>
</HTML>
FONTSIZE
FONTSIZE controls the size of the text displayed in the edit box.
JavaScript code can get and set the FONTNAME value.
Action
Set the text in the edit box to the desired font.
(default is Tahoma)
iBrowse User's Guide

Advertisement

Table of Contents
loading

Table of Contents