InputWindow()
Creates
An Editing Window Automatically Based Upon Given Values
Syntax:
InputWindow ( [cTitle],
aLabels, aValues, aFormats [, nRow] [, nCol]
[, aBackColor] [, aToolTips] [, aHotKeys] [, aStyles]
[, bCode] ) -->
aResult
Argument Meaning
[cTitle]
Optional Window Title.
acLabels
Character array containing labels with item
descriptions.
aInitialValues Array containig
initial values to edit.
aFormats
Array containing format information for
editing.
[nRow] Initial row position.
[nCol] Initial colums position.
[aBackColor] Window and labels BackColor
[aToolTips] ToolTip for each control
[aHotKeys] Array of CodeBlock of each key configuration.
Ex.: { { 0, VK_ESCAPE, {|| ThisWindow.Release()
} }
[aStyles] Bidimensional
array as follows:
{ {nLabelWidth, lLabelBold, aLabelFColor, nAlign},;
{xControlWidth, lControlBold} }
xControlWidth can be
simple variable with fixed
width size for all control or to be an array
for
each width control size
[bCode] CodeBlock
containing a UDF (user’s function) for
initialization and control routines
|
|
Initial Value Type |
Format Type |
Control Created |
|
* |
Character |
Nil |
LABEL |
|
|
Character |
Numeric (< 32) |
TEXTBOX |
|
|
Character |
Numeric (>= 32) |
EDITBOX |
|
* |
Character |
Character “PASSWORD” |
TEXTBOX PASSWORD |
|
|
Numeric |
Character (InputMask) |
TEXTBOX NUMERIC |
|
* |
Numeric |
Numeric |
TEXTBOX NUMERIC INTEGER |
|
|
Numeric |
Character Array |
COMBOBOX |
|
|
Logical |
Nil |
CHECKBOX |
|
|
Date |
Nil |
DATEPICKER |
|
* |
Array |
Array {{headers},{Widths}} |
GRID |
* New optional resources