13. Creating Dynamic Frames : How You Can Change Field and Frame Appearance and Behavior : How You Can Set Field and Menu Biases : How You Can Use the CurBias Attribute
 
Share this page                  
How You Can Use the CurBias Attribute
Every field and menu item has a CurBias attribute that lets you specify the current bias for the field. This attribute changes the field bias immediately, regardless of the current frame mode.
The CurBias attribute for fields has the following valid values:
FB_CHANGEABLE
FB_LANDABLE
FB_VISIBLE
FB_VIEWABLE
FB_DIMMED
FB_INVISIBLE
FB_FLEXIBLE
FB_RESIZEABLE
FB_MARKABLE
FB_MOVEABLE
FB_CLICKPOINT
FB_DRAGBOX
FB_DRAGSEGMENT
If the field does not support the Dimmed bias, OpenROAD uses FB_VISIBLE instead. If the field does not support the Flexible bias (cannot be resized), OpenROAD uses FB_MOVEABLE instead.
The CurBias attribute for menu items has the following valid values:
MB_INVISIBLE
MB_DISABLED
MB_ENABLED
Changing the CurBias attribute also changes the field's bias for the current mode. For a discussion of using the mode-bias attributes, see How You Can Use the Mode-Bias Attributes (see How You Can Use the Mode-Bias Attributes).