Futurebasic/Language/Reference/def border

DEF BORDER Statement

edit

DEF BORDER

edit

Statement

edit

✔ Appearance ✔ Standard ✔ Console

Syntax

edit

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

Description

edit

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.

Example

edit

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

FB Lite Behavior

edit

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

See Also

edit

DEF TITLERECT; DEF SHADOWBOX; DEF <just>BOX