INPUTE Controls

The following lists the mandatory properties for INPUTE controls:

Inpute control-id"title"x y width height

Property

Description

inpute

Identifies the control as an INPUTE control.

control-id

Control ID number. It must be an integer between 1 and 32767 and be unique within a given top-level window.

"title"

Title of the control, contained in quotation marks.

x

Horizontal position of the upper-left corner of the control in current units.

y

Vertical position of the upper-left corner of the control in current units.

width

Width of the control in current units.

height

Height of the control in current units.

The Resource Properties Index identifies and describes the optional properties for this control.

Backgroundcolor

Clientedge

Disabled

Font

Foregroundcolor

Group

Highlight

Initialcontents

Initialposition

Invisible

Longcue

Mask

Maxlength

Name

Opaque

Padcharacter

Passenter

Passtab

Popupmenuid

Raisededge

Readonly

Recordfield

Restorestring

Shortcue

Title

Example

The following example contains a window with three INPUTE controls; the first contains only the mandatory definitions, and the second and third contain optional settings.

Version "3.0"
Window 1 "Control Window" 0 0 200 100
Begin
Inpute 1 "Hello" 10 10 50 25
Inpute 2 "Goodbye" 50 10 50 25 Begin
Font "Arial" 12, Bold, CS_DEFAULT
Initialcontents "(000) 555 1212"
Initialposition 15
Mask "(###) ### ####"
Padcharacter '\n'
Restorestring "(000) 555 1212"
Disabled Invisible Passtab Passenter Highlight
Clientedge Raisededge
End
Inpute 3 "" 50 10 50 25 Begin
Font "Arial" 12, Bold, CS_DEFAULT
Maxlength 15
Padcharacter '\n'
Disabled Invisible Passtab Passenter Highlight
Clientedge Raisededge
End
End