Programming Guide : 13. Creating Dynamic Frames : How You Can Change Field and Frame Appearance and Behavior : Biases for Fields
 
Share this page                  
Biases for Fields
The OpenROAD field biases are divided into the following categories:
Interactive
Lets the user interact with the fields; for example, by tabbing into or selecting the field or by changing data in the field
Passive
Prevents the user from entering data in the field, either by making the field invisible or by displaying the field but disallowing data entry
Select
Is provided for applications that let the user manipulate the fields themselves, such as visual editors
Draw
Is provided for graphic applications that let the user manipulate the fields themselves, such as diagrams and network maps
The interactive and passive biases are used most frequently. These biases are useful for applications that let the user display and enter data.
The following table lists the field biases and their corresponding categories:
Bias
Description
Category
Changeable
Lets the user select or tab to the field and to edit displayed data
Interactive
Landable
Lets the user select or tab to the field, but the user cannot edit displayed data
Interactive
Visible
Displays the field
Passive
Viewable
Lets the user view the contents of field with a mouse click
Interactive
Dimmed
Causes the field to be dimmed and the user cannot interact with it. (Only supported for some fields; for all other fields, Dimmed is equivalent to Visible.)
Passive
Invisible
Does not display the field on the form, so the user cannot interact with it. However, the application can continue to set and access data associated with the field.
Passive
Flexible
Lets the user select the field with a mouse click to move or resize the field
Select
Resizeable
Lets the user select the field with a mouse click to resize the field (but not move it)
Select
Moveable
Lets the user select the field with a mouse click to move the field (but not resize it)
Select
Markable
Lets the user select the field with a mouse click
Select
ClickPoint
Enables the field to take a ClickPoint event (allowing the code to determine the exact cursor coordinates)
Draw
DragBox
Lets the user draw a dragbox starting in the field
Draw
Drag Segment
Lets the user drag a line segment starting in the field
Draw