FDV.COR

THIS IS A CORRECTION FILE TO THE FMS-11 FORM DRIVER (FDV VERSION 01.00)
TO ADD ADDITIONAL FUNCTIONALITY.  THE RSX UTILITY SLP SHOULD BE USED TO 
APPLY THIS CORRECTION TO THE FDV.MAC SOURCE FILE.

ADDED FUNCTIONALITY:

ONE WORD IS ADDED TO THE FMS IMPURE DATA AREA. THE FIRST BYTE OF THIS WORD
CONTAINS THE FIRST LINE NUMBER ON THE SCREEN ON WHICH THE CURRENT FORM IS
DISPLAYED. THE SECOND WORD CONTAINS THE LAST LINE NUMBER ON THE SCREEN USED
BY THE CURRENT FORM. THIS WORD MAY BE ADDRESSED BY USING THE SYMBOL I$FLLL
AS AN OFFSET INTO THE IMPURE AREA.

PROGRAM FUNCTION KEYS PF3 AND PF4 ARE CHANGED TO FUNCTION AS USER CONTROLLED
PROGRAM FUNCTION KEYS IF THE CURSOR IS NOT POSITIONED IN A SCROLLED AREA WHEN
THEY ARE DEPRESSED. THE KEYS FUNCTION EXACTLY LIKE THE NUMERIC KEY PAD WHEN
IT IS IN PROGRAM FUNCTION KEY MODE. PF3 RETURNS AN "R" AND PF4 RETURNS AN "S"
TO THE USER PROGRAM IF THE KEYS ARE DEPRESSED WHILE THE CURSOR IS NOT IN A
SCROLLED AREA. IF THE CURSOR IS IN A SCROLLED AREA WHEN PF3 OR PF4 IS
DEPRESSED, THE KEYS FUNCTION EXACTLY AS DESCRIBED IN THE FMS-11 DOCUMENTATION.

THREE NEW FUNCTION CODES ARE ADDED TO FORM DRIVER CALLS.

FC$GVA	THIS CALL MAY BE USED BY THE USER PROGRAM TO OBTAIN THE CURRENT
	SETTING OF THE VIDEO ATTRIBUTES OF ANY FIELD ON THE CURRENT FORM.

FC$SVA	THIS CALL MAY BE USED BY THE USER PROGRAM TO DYNAMICALLY SET NEW
	VIDEO ATTRIBUTES FOR ANY FIELD ON THE CURRENT FORM.

	CAUTION: 1- THE ORIGINAL VIDEO ATTRIBUTES ARE NOT SAVED AND MUST BE
	            RESTORED BY THE USER PROGRAM IF DESIRED.

		 2- IF THE VIDEO ATTRIBUTES OF AN INDEXED FIELD ARE CHANGED,
		    ONLY THE SINGLE FIELD SPECIFIED BY THE INDEX VALUE
	 	    SPECIFIED IN THE CALL IS CHANGED ON THE SCREEN. HOWEVER,
		    IF CNTRL W IS DEPRESSED WHILE ANY FIELD IN AN ARRAY HAS
		    ITS ATTRIBUTES CHANGED, ALL FIELDS IN THE ARRAY ARE
		    REPAINTED WITH THE ATTRIBUTES SPECIFIED IN THE LAST CALL
		    WHICH AFFECTED A FIELD IN THE ARRAY.

FC$NFI	THIS CALL MAY BE USED TO FIND THE I.D. (NAME) OF THE FIRST FIELD ON A
	FORM, OR THE I.D. (NAME) OF THE FIELD FOLLOWING THE FIELD SPECIFIED
	IN THE CALL. THIS CALL IS USEFUL IN DETERMINING THE NAMES OR ORDER OF
	FIELDS ON A FORM.

THE NEW FUNCTION CALLS AND RESULTING STATUS CODES ARE DOCUMENTED IN DETAIL IN
COMMENTS IN THE FDV.COR FILE.
