Microsoft KB Archive/57514

= &quot;Invalid Function Call&quot; Using EDIT FIELD <= 15 Pixels Wide =

Article ID: 57514

Article Last Modified on 11/21/2006



This article was previously published under Q57514



SUMMARY
The EDIT FIELD statement in QuickBASIC Version 1.00 for the Apple Macintosh gives an &quot;Invalid function call&quot; 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,&quot;Test&quot;,(50,79)-(402,230) EDIT FIELD 1,&quot;&quot;,(40,20)-(55,20) This example reproduces the error &quot;Invalid function call&quot; 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.

Additional query words: MQuickB

Keywords: KB57514

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.