Microsoft KB Archive/58659

From BetaArchive Wiki
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


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