Tel: +44(0)1865 300 579
Fax: +44(0)1865 300 232

Programs for Programmers

Input Handling - Subroutine Descriptions

copyright Interactive Software Services Ltd. 2000

Group KM : Keyboard/Mouse Event Handling Routines

Name Description
InCharacter Get single char from keyboard (wait for key press)
InCharacterImm As InCharacter but immediate return if no key pressed
InEventSelect Select events to be reported via InKeyEvent/InKeyEventImm
InFlush Flush any pending events from the input buffer
InKeyEvent Get single key/mouse event, inc. function/keypad/cursor keys
InKeyEventCursor As InKeyEvent but also simulate a text cursor
InKeyEventImm As InKeyEvent but immediate return if no event waiting
InYesNo Get yes/no response by means of single Y/N key press

 

Group IN : Fixed Field Input Handling Routines

Name Description
InDouble Get double precision value (no default offered)
InDoubleDef Get double precision value, offering a default
InDoubleXY Get double precision at (x,y) pos (no default)
InDoubleXYDef Get double precision at (x,y) pos, offering default
InInteger Get integer value (no default offered)
InIntegerDef Get integer value, offering a default
InIntegerXY Get integer at an (x,y) position (no default offered)
InIntegerXYDef Get integer at an (x,y) position, offering a default
InLongString Get long string in l/r scrolling field (no default offered)
InLongStringDef Get long string in l/r scrolling field, offering a default
InLongStringXY Get long string at (x,y) (no default offered)
InLongStringXYDef Get long string at (x,y), offering a default
InReal Get real value (no default offered)
InRealDef Get real value, offering a default
InRealXY Get real at an (x,y) position (no default offered)
InRealXYDef Get real at an (x,y) position, offering a default
InString Get fixed length string (no default offered)
InStringDef Get fixed length string, offering a default
InStringXY Get string at an (x,y) position (no default offered)
InStringXYDef Get string at an (x,y) position, offering a default

 

Group MN : Menu Handling Routines

Name Description
IMenuCycle Cycling menu, displaying one option at a time
IMenuHoriz Horizontal pointer/highlight menu
IMenuHorizHelp Horizontal pointer/highlight menu with 'help' info
IMenuScroll Scrolling vertical pointer/highlight menu
IMenuTwo Two-option pointer/highlight menu
IMenuVertic Vertical pointer/highlight menu
IMenuVerticHelp Vertical pointer/highlight menu with 'help' info
IMenuYesNo Yes/No function presented as pointer/highlight menu

 

Group IP : Input/Menu Handling Parameter Selection Routines

Name Description
InCase Enable/disable automatic case conversion on input
InCondenseHelpMenu Enable/disable condensed options in horizontal help menus
InControlKey Define control keys for all input handling routines
InCursorPos Set cursor pos relative to start of field in InStringDef etc
InCursorType Set insert/overtype mode cursor types (block, v/bar or u/line)
InGravity Select left/right-handed field gravity
InHelpMenuOptionPos Calculate horizontal position of a help menu option
InHelpStringPos Set help string position for help-menus
InHighlight Select highlight for menu & input-at-(x,y) routines
InHighlightChar Select single-key menu option selection character highlight
InHighlightHelp Select help-menu help string highlight
InJustifyNum Set justification of numbers on entry to InIntegerDef, etc
InKeypad Select keypad detection/interpretation mode
InKeyVia Select keyboard input via BIOS or DOS on the PC
InMouseOptions Specify mouse options for fixed field/menu/form input
InMultiple Enable/disable multiple choice menu mode
InPopup Select pop-up mode for menu & input-at-(x,y) routines
InSelectionChars Specify single-key menu option selection characters
InsertOver Select keyboard input insert/overtype mode
InsertOverMessage Set position & wording of insert/overtype mode message
InSingle Enable/disable single-key menu option selection by initial
InTypeWipe Enable/disable input field type-and-wipe feature
Invisible Enable/disable invisible input mode (for passwords etc.)

 

Group II : Interactive Option Identification (Predefined menus/forms)

Name Description
IdDigitiser Interactively identify digitiser type
IdDisplay Interactively identify display type
IdFilename Interactively identify a file (directory tree browser)
IdFilenameTitle Set file selecter window title
IdFormButtons Define user-buttons for use in pre-defined forms
IdGrHardcopyDriver Interactively identify graphics hardcopy driver
IdGrHardcopyOptions Interactively identify graphics hardcopy driver options
IdMenuOptions Define II group menu options (position, menu type etc.)
IdMessage Display a message in a window with OK/Cancel/Help buttons
IdMouse Interactively identify mouse type
IdPgStyles Interactively identify presentation graphics styles
IdPlotter Interactively identify plotter type
IdPrinter Interactively identify printer type
IdPrinter2 Interactively identify HP-GL/2 device type
IdScreenDumpOptions Interactively identify graphics screen dump hardcopy options
IdScreenMode Interactively identify a screen mode

 

Group TI : Text Position Input Routines

Name Description
ITextInputBox Mark two corners of a rectangular area
ITextInputDevice Select text input device (cursor keys or mouse)
ITextInputLimits Define limits of text input area
ITextInputOptions Specify TIN mode options
ITextInputXY Mark a single character position

 

Group MC : Mouse Cursor Control

Name Description
IMouseCursorHide Hide mouse cursor
IMouseCursorShape Select mouse cursor shape
IMouseCursorShow Show mouse cursor
IMouseCursorXYG Position mouse cursor using graphics co-ordinates
IMouseCursorXYT Position mouse cursor using text co-ordinates

 

Group GM : Grid Management

Name Description
IGridAttribute Set mono/colour display attributes
IGridDefine Define grid dimensions,column types and labelling
IGridEdit Manipulate grid data via user routine
IGridFormat Set output format for real/double column types
IGridRangeDouble Set min/max input range for double column
IGridRangeInteger Set min/max input range for integer column
IGridRangeReal Set min/max input range for real column
IGridShow Show grid within current window