< Futurebasic < Language < Reference

DEF BORDER Statement

DEF BORDER

Statement

✔ Appearance ✔ Standard ✔ Console

Syntax

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

Description

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

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

FB Lite Behavior

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

See Also

DEF TITLERECT; DEF SHADOWBOX; DEF <just>BOX

This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.