Futurebasic/Language/Reference/def border
DEF BORDER Statement
editDEF BORDER
editStatement
edit✔ Appearance ✔ Standard ✔ Console
Syntax
editDEF BORDER(twoPixelBorder, {rect | #rectAddr&})
Description
editDraws a double border (in the current color and pattern) around the outside of the rectangle which is specified by rect
(which should be an 8-byte variable such as a RECT
type), or pointed to by rectAddr&
. If twoPixelBorder
is "true" (nonzero), then the outer border is drawn with a 2-pixel pen width; otherwise it's drawn with a 1-pixel pen width.
Example
editimage res/cd.gif CD Example: DEF BORDER.BAS
FB Lite Behavior
editWhen you use the "FB Lite" runtime, DEF BORDER
switches to the Graphics Window before executing.
See Also
editDEF TITLERECT; DEF SHADOWBOX; DEF <just>BOX