Objectname.setfocus( select ), Objectname.showsip( visible ), Properties – Casio Naurtech CETerm Ver.5.1 Web Browser Programming Manual User Manual

Page 60

Advertising
background image

N

AURTECH

W

EB

B

ROWSER

S

MART

C

LIENTS FOR

W

INDOWS

CE .NET / P

OCKET

PC




Web Browser Programming Guide

Page 60


objectname.SetFocus( select )
SetFocus will set the current focus to this TextX object. If select is true, then all
of the text in the control will be selected.

objectname.ShowSIP( visible )
ShowSIP will cause the SIP to be visible if the argument is true. It will hide the
SIP if the argument is false. This may also be accomplished via an IDA code
(see IDA Action Codes).

P

ROPERTIES

The TextX control has several properties to control the appearance and behavior
of the object. All properties may be set in an initial “PARAM” statement or set
dynamically via JavaScript, unless described otherwise.

Property Description Values

Default
Value

Alignment

Text justification

LEFT, RIGHT, CENTER

LEFT

AutoHScroll

Text will autoscroll
horizontally

TRUE, FALSE

TRUE

AutoVScroll

Text will autoscroll
vertically on Enter

TRUE, FALSE

FALSE

Border

Show border lines

TRUE, FALSE

TRUE

FontBold

Use bold font

TRUE, FALSE

FALSE

FontFixedPitch

Use fixed pitch font

TRUE, FALSE

FALSE

FontItalic

Use italic font

TRUE, FALSE

FALSE

FontName

Font for object

(any on device)

System

FontSize

Size of font

6-28

10

FontUnderline

Use underlined font

TRUE, FALSE

FALSE

FontWeight

Weight of font

300=light 400=normal
700=bold 900=heavy

400

MaxLength

Maximum text length 0-8192 (0 – no limit)

0

NumberOnly

Only accept digits

TRUE, FALSE

FALSE

Password

Display text as ‘*’s

TRUE, FALSE

FALSE

Value

Text content

(any text)

(empty)

WantReturn

Enter gives a newline
in Multiline control

TRUE, FALSE

FALSE

Advertising