Border Spec

From BR Wiki
Revision as of 19:00, 4 February 2013 by 66.17.154.248 (talk) (Created page with "The "BORDER=spec" parameter represents an inserable syntax that specifies the visual characteristics of the window border, within the Open Window statement. The BORDER= ke...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

The "BORDER=spec" parameter represents an inserable syntax that specifies the visual characteristics of the window border, within the Open Window statement. The BORDER= keyword must be followed by one of four border specifications (as of 4.3 these work with CON GUI ON as well).

Syntax

Parameters

  • "B" indicates that the border is to be blank;
  • "D" indicates a double-line border;
  • "H" indicates that a shadowed or highlighted border be used;
  • and "S" indicates that a single-lined border be used.

"Corners" and "8 chars" border specifications may be used for custom-designed window borders. See Screen I/O for illustrations and more information about border types and border graphics specifications. However, as of 4.3, Border=H and "8 chars" are no longer supported except that a new OPTION 62 permits S, D, B, H or an eight character string followed by a colon and then attributes. For example:

            BORDER=S|D|B|H|8-chars[:attributes]

While the colon is actually optional, it is recommended for readability when attributes are included.

Also within the BORDER= syntax, the "attributes" parameter may be specified immediately after the border specification (no spaces). The attributes specified here will affect the visual display of the border itself. See Definitions for the correct syntax to be used with the "attributes" parameter.