Futurebasic/Language/Reference/autoclip
Autoclip
[edit | edit source]Statement
[edit | edit source]✔ Appearance ✔ Standard χ Console
Syntax
[edit | edit source]autoclip [=] booleanExpr
Description
[edit | edit source]If booleanExpr
evaluates as "false" (zero), this statement turns off the "autoclip" flag for the current output window. If booleanExpr
evaluates as "true" (nonzero), this statement turns on the "autoclip" flag for the current output window, unless the window was created with the _noAutoClip
attribute.
If a window's autoclip flag is "on," things like buttons, edit fields and picture fields are excluded from the window's "clipping region." This exclusion means that such object are "protected"—drawing commands won't draw over such areas, and the cls
command won't erase them. While leaving autoclip "on" is normally a good idea, it can slow down the execution of drawing commands, especially on older Macs.
Any FB window will have its autoclip flag "on" at the time it's created, unless the _noAutoClip
attribute is set in the window
statement that creates it.
Notes
[edit | edit source]No special notes.
See Also
[edit | edit source]_noAutoClip
attribute in the window statement