OPTIONS Mnemonic - Set Control Options

Syntax

'OPTIONS'(id,options)

Description

The 'OPTIONS' mnemonic is an extensible mechanism for setting parameters on controls (present and future) that are not accessible through mnemonics. For example, if a new basis control were made available, the basis angle could be adjusted with:

'OPTIONS'(123,"BASIS_ANGLE=180")

Any number of options may be included, separated with $0A$ characters. Current available options are:

FONT=name/size/style
COLORS=pen_color,brush_color,text_color,background_color

The colors above can be any of the following:

  • Color name or number

  • Red green blue values (e.g., "100 100 200").

Parameter

Description

id

Control ID number. It must be an integer between 1 and 32767 and be unique within a given top-level window.

options

Font and color selections.

See Also

Mnemonics - Alphabetical Listing

Mnemonics - Group Listing