[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
IO_Edit IOTTT
Purpose To control user input of data.
Type Mandatory.
Declaration IO_Edit(var Retcode: integer);
Retcode must be an integer variable
Uses CRT, FastTTT, DOS, WinTTT, KeyTTT, IOTTT.
Remarks When you have declared all the parameters and defined all
the IO procedures (including any optional procedures such as
color changes) then you're ready to let the user input and
update the fields. IO_Edit does this and passes control to
the user.
The procedure returns control to your program when the user
has ended the update session, either by pressing End or Esc
(if it is enabled) or by pressing any of the move to next
field keys (Enter, Tab, etc.) when the next field has been
defined as ID zero.
The Retcode variable is updated with a return code for the
edit session. The return codes are :
0 for successful completion
1 if user pressed Esc key
Example See Major example on page 64.
!IO_ResetFields Dispose of menory used during IO & reset input variables
IO_ResetFields IOTTT
Purpose To dispose of memory used during IO process and reset the
input variables to default values.
Type Mandatory.
Declaration IO_ResetFields;
Uses CRT, FastTTT, DOS, WinTTT, KeyTTT, IOTTT.
Remarks This procedure is normally the next statement after IO_Edit.
It discards all the field definitions from the Heap and sets
all the optional settings (such as color) back to the
default values.
Example See Major example on page 64
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson