13. Creating Dynamic Frames : How You Can Change Field and Frame Appearance and Behavior : Frame Modes : How You Can Use the CurMode Attribute
 
Share this page                  
How You Can Use the CurMode Attribute
The CurMode attribute specifies the current mode for a frame. When you set this attribute, OpenROAD changes all fields and menu items on the frame to the appropriate bias for the new mode. The CurMode attribute can be set to any valid mode.
You can force the bias of an individual field or menu item to change when the frame changes modes by setting the mode-bias attribute. However, you need not change frame modes to change the biases of individual fields. The CurBias attribute for fields lets you set the field bias regardless of the frame mode.