Paint

_Wrap

This remnant of the printer variable system actually does something. It determines whether output produced by ? and ?? pays attention to _RMARGIN or not. If _WRAP is .T., output stops at _RMARGIN and wraps to the next line.

Usage

_WRAP = lWrapIt
One other kink feels like a bug, but actually makes sense. When _WRAP is .T., output from ?? is stored up until either the right margin is reached or a ? command is issued. The characters aren't sent to the device until that time. Where this catches us is when we are trying to ring the bell with ?? CHR(07). Remember to turn _WRAP off before issuing that command.

Example

_WRAP = .T. _RMARGIN = 20 ? "This long string will be wrapped when you see it" _WRAP = .F. ? "This one won't be wrapped because _WRAP is .F."

See Also

_Alignment, _Indent, _LMargin, _RMargin


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