User manual - Web_Browser_Prog_Guide

NAURTECH WEB BROWSER SMART CLIENTS FOR WINDOWS CE .NET / POCKET PC
Web Browser Programming Guide Page 4
4.1 Navigating to Pre-configured URLs ..................................................................................... 42
4.2 Controlling the Scanner ....................................................................................................... 42
4.3 Input Focus and the Tab Key............................................................................................... 44
4.4 Session Launcher ................................................................................................................ 48
4.5 How to Identify the Current Browser.................................................................................... 49
4.6 Device Information ............................................................................................................... 50
4.7 Symbol Web Client .............................................................................................................. 50
5.0 Printing from HTML ................................................................................................................. 53
5.1 Printing with a META Tag ....................................................................................................53
5.2 PrintString and Print Methods .............................................................................................. 53
5.3 NAURTECH:PRINT Tag ...................................................................................................... 53
5.4 ActiveX Printing Controls ..................................................................................................... 54
6.0 CEBrowseX Control................................................................................................................. 54
Syntax ........................................................................................................................................ 54
ClassID....................................................................................................................................... 55
Methods ..................................................................................................................................... 55
PostIDA( IDACode, session ) ................................................................................................. 55
SendIDA( IDACode, session )................................................................................................ 55
SendText( text, session )........................................................................................................ 56
Value = GetProperty( propertyName ) ................................................................................... 56
Status = SetProperty( propertyName, propertyValue ) .......................................................... 56
PlaySound( sound )................................................................................................................ 56
PlayTone( volume, frequency, duration ) ............................................................................... 57
Status = PrintString( printData ) or Status = Print( printData) ................................................ 57
Properties................................................................................................................................... 57
EventHandlers............................................................................................................................ 57
7.0 TextX Control........................................................................................................................... 58
Syntax ........................................................................................................................................ 58
ClassID....................................................................................................................................... 59
Methods ..................................................................................................................................... 59
objectname.SetFocus( select )............................................................................................... 60
objectname.ShowSIP( visible )............................................................................................... 60
Properties................................................................................................................................... 60
EventHandlers............................................................................................................................ 61
void OnChange() .................................................................................................................... 61
void OnClick( int x, int y )........................................................................................................ 61
void OnFocus()....................................................................................................................... 61
void OnLostFocus() ................................................................................................................ 61
void OnKeyDown( int vkey ) ................................................................................................... 61
int OnKeyPress( int akey )......................................................................................................62
void OnKeyUp( int vkey )........................................................................................................62
Appendix 1 - Properties ................................................................................................................. 63
Appendix 2 - IDA Action Codes ..................................................................................................... 65
Appendix 3 - Virtual Key Codes..................................................................................................... 74
Glossary......................................................................................................................................... 78
Index .............................................................................................................................................. 79