Last modified on 7 July 2009, at 19:51

Futurebasic/Language/Reference/def border

DEF BORDER StatementEdit

DEF BORDEREdit

StatementEdit

✔ Appearance ✔ Standard ✔ Console

SyntaxEdit

DEF BORDER(twoPixelBorder, {rect | #rectAddr&})

DescriptionEdit

Draws 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.

ExampleEdit

image res/cd.gif CD Example: DEF BORDER.BAS

FB Lite BehaviorEdit

When you use the "FB Lite" runtime, DEF BORDER switches to the Graphics Window before executing.

See AlsoEdit

DEF TITLERECT; DEF SHADOWBOX; DEF <just>BOX