Numeric Edit (INPUTN) Controls


For BBj-specific information, see INPUTN Controls.

INPUTN controls provide the capability to accept user input from the keyboard, but with input numeric masking and character padding capabilities.

Creating

Mnemonic

Description

'INPUTN'

Create a Numeric Edit (INPUTN) Control.

Querying

CTRL() Function

Information Returned

0

Outer rectangle of the control in current scaled units.

1

Control title.

2

8-byte string representing the business math value contained in the control. The following example shows how this value can be obtained:

DIM B$:"BUS:B"
B.BUS$=CTRL(sysgui,controlid,2)

4

Control class and type.

8

Visible/invisible and enabled/disabled status of the control.

15

Background color of the control.

16

Foreground color of the control.

 

INPUTN SENDSMSG() Function

Number

Get Error

25

Get OMask

22

Get Position

24

Get Restore String

26

Get Title

20

Select All

38

Set Background Color

29

Set !EDIT Value

32

Set Insert Mode

33

Set Left Margin

27

Set !EDIT Value

23

Set Position

30

Set Restore String

31

Set Text Color

28

Set Title

21