RENAME CLASS

Define Box, _Box

DEFINE BOX is one of those commands you should forget you ever noticed. What it's supposed to do is draw a box around output data. In FoxPro/DOS, this command worked more or less as intended.

As far as we can tell, it doesn't work at all for printed output in Visual FoxPro (nor did it work in FoxPro/Windows); and it works badly when you SET PRINT TO a file.


_BOX determines whether DEFINE BOX actually draws a box or not. For output to file, it appears to work as advertised.

Don't use DEFINE BOX! Use the Report Designer to create output and take advantage of its box-drawing tool. Use the form's built-in Box() method to draw simple boxes on forms, or the new Shape control if finer control is needed, but avoid this mess at all costs!

See Also

?, ??, @...Box, @...To


View Updates

Copyright © 2002 by Tamar E. Granor, Ted Roche, Doug Hennig, and Della Martin. All Rights Reserved.



Hacker's Guide to Visual FoxPro 7. 0
Hackers Guide to Visual FoxPro 7.0
ISBN: 1930919220
EAN: 2147483647
Year: 2001
Pages: 899

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net