Microsoft KB Archive/58659

From BetaArchive Wiki
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
Knowledge Base


Correction for ToolBox Statement Example Calling ScrollRect

Article ID: 58659

Article Last Modified on 11/21/2006

This article was previously published under Q58659

SUMMARY

On Page 519 of the "Microsoft QuickBASIC for Apple Macintosh: Language Reference" manual, the example for the ScrollRect ToolBox call is incorrect.

The incorrect example on Page 519 is as follows:

   Trapno% = &HA8EF
   ToolBox "P", Trapno%, r%(0), (horiz%), (vert%), H&
                

The correct syntax for this ToolBox call is as follows:

   Trapno% = &HA8EF
   ToolBox "P", Trapno%, VARPTR(r%(0)), (horiz%), (vert%), (H&)
                

This information applies to Microsoft QuickBASIC 1.00 for the Apple Macintosh.


Additional query words: MQuickB

Keywords: KB58659