"Invalid Function Call" Using EDIT FIELD <= 15 Pixels Wide (57514)






This article was previously published under Q57514

SUMMARY

The EDIT FIELD statement in QuickBASIC Version 1.00 for the Apple Macintosh gives an "Invalid function call" error message if the width of the EDIT FIELD is less than or equal to 15 pixels.

The height of the EDIT FIELD can be any value equal to or greater than 0 (zero).

Code Example

WINDOW 1,"Test",(50,79)-(402,230)
EDIT FIELD 1,"",(40,20)-(55,20)
				
This example reproduces the error "Invalid function call" on the EDIT FIELD statement. To make the program work without error, increase the 55 to 56 or decrease the 40 to 39. This increases the width of the EDIT FIELD to 16.

Modification Type: Minor Last Reviewed: 1/9/2003
Keywords: KB57514