Create elements for controlling the current value
Create a gauge and other interface elements that display the current value and enable you to edit it.
- Create the current value label:
- InProject view, right-clickMainWIndow (Type)and select .
- Hover-over a gauge, select , and enterCurrentValueLabel.
- InPropertiesand setTexttoCurrent Value.
- Create the value gauge:
- Right-clickMainWindow (Type)and select .
- Hover-over a gauge, select , and enterValueGauge.
- InProperties, create a dynamic link between theValueand .For more information about dynamic links, see Create dynamic links.
- Set the value gauge warning zone 1:
- InProperties, next toWarning zones, select .
- UnderWarningZone1, setColorto#f30000.
- Create a dynamic link betweenFromand .For more information about dynamic links, see Create dynamic links.
- Create a dynamic link betweenToand .For more information about dynamic links, see Create dynamic links.
- Set the value gauge warning zone 2:
- Next toWarning zones, select .
- UnderWarningZone2, setColorto#02d92d.
- Create a dynamic link betweenFromand .For more information about dynamic links, see Create dynamic links.
- Create a dynamic link betweenToand .For more information about dynamic links, see Create dynamic links.
- Set the value gauge warning zone 3:
- Next toWarning zones, select .
- UnderWarningZone3, set theColorproperty value to#f30000.
- Create a dynamic link betweenFromand .For more information about dynamic links, see Create dynamic links.
- Create a dynamic link betweenToand .For more information about dynamic links, see Create dynamic links.
- Create the value label:
- InProject view, right-clickMainWIndow (Type)and select .
- Hover-over a gauge, select , and enter:ValueLabel.
- InProperties, create a dynamic link betweenTextand .For more information about dynamic links, see Create dynamic links.
- Create the value spin box:
- InProject view, right-clickMainWIndow (Type)and select .
- Hover-over a gauge, select , and enter:ValueSpinBox.
- InProperties, create a dynamic link betweenValueandFor more information about dynamic links, see Create dynamic links.
- Create the value text box:
- InProject view, right-clickMainWIndow (Type)and select .
- Hover-over a gauge, select , and enter:ValueTextBox.
- InProperties, create a dynamic link betweenTextandFor more information about dynamic links, see Create dynamic links.
Provide Feedback