Previous Topic

Next Topic

InputNumber - Scripted Form Method

method InputNumber(ControlName: String, Prompt: String[, Domain: String, CurrencyCode: String])

Define a number edit control on a scripted form that allows input of arbitrary numbers.

InputNumber method syntax has these named arguments:

Parameter

Description

Control Name

Required. Name of the control. Must be a valid MaxBasic identifier.

Prompt

Required. Prompt text to display to left of the control.

Domain

Optional. Domain to be applied to the number. Valid domains are listed in Domains.

Currency Code

Optional. String expression representing the Currency Code for the number. Domain must be set to either Amount, Price, Cost Price or Sell Price.

See also MaxBasic InputNumber function and Input Grid InputNumber method.

See Also

ScriptedForm Object

Book Contents

Book Index