Product Documentation
Cadence User Interface SKILL Reference
Product Version IC23.1, September 2023

hiShowFieldBorders

hiShowFieldBorders( 
g_onOrOff 
) 
=> t / nil 

Description

Displays or hides borders around form fields. Used as a debugging aid to avoid overlapping fields when laying out forms.

The default value of the flag is nil. The argument g_onOrOff can be any non-nil value or nil. If the argument is non-nil, the function sets a global flag that causes borders to be drawn around fields in a form when that form is instantiated. After a form is instantiated, the borders remain drawn or undrawn until the form is deleted and re-created.

The color used for drawing the borders is controlled by the X resource Opus.borderColor.

Argument

g_onOrOff

State of the field borders.

Valid values:

  • Any non-nil value: borders on
  • nil: borders off

Values Returned

t

The value passed in is non-nil.

nil

The value passed in is nil.

Related Topics

Form and Field Functions


Return to top
 ⠀
X