Toggle Properties
All the properties for toggle fields are described under
Common Field Properties (see
Common Field Properties), with the exception of the following properties or values that are specific to the toggle field type:
HasImageandText
Specifies whether to display both an image and text as the label
Default: FALSE
Note: If HasImageandText is set to TRUE and a bitmap label is specified, the HasIndicator property is ignored. If neither OffBitmapLabel nor OnBitmapLabel is specified, then the toggle field behaves as if HasImageandText is FALSE.
HasIndicator
Specifies whether a toggle indicator, a check mark, is displayed next to the label
Default: TRUE
OffBitmapLabel
Specifies a file containing the image to be displayed when the toggle is disabled. When you click this button, a standard File Selection dialog appears. Enter the directory path of the new image you want to use.
If you specify the OnBitmapLabel property but do not specify the OffBitmapLabel property, OpenROAD uses an inverse of the OnBitmapLabel bitmap image as the OffBitmapLabel.
Default: No Bitmap
Note: If OffBitmapLabel is set to Bitmap, then the HasIndicator property must also be set to TRUE.
OffTextLabel
Specifies the text displayed when the toggle is disabled
Default: Toggle Item
OnBitmapLabel
Specifies a file containing the image to be displayed when the toggle is enabled. When you click this button, a standard File Selection dialog appears. Enter the directory path of the new image you want to use.
If you specify the OffBitmapLabel property but do not specify the OnBitmapLabel property, OpenROAD uses an inverse of the OffBitmapLabel bitmap image as the OnBitmapLabel. See the example in OffBitLabel.
Default: No Bitmap
Note: If OnBitmapLabel is set to Bitmap, then the HasIndicator property must also be set to TRUE.
OnTextLabel
Specifies the text displayed when the toggle is enabled
Default: Toggle Item