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:
- In theProject viewpane, right-clickMainWIndow (Type)and select .
- Hover-over a gauge, select , and enterCurrentValueLabel.
- In thePropertiespane and set theTextproperty value toCurrent Value.
- Create the value gauge:
- Right-clickMainWindow (Type)and select .
- Hover-over a gauge, select , and enterValueGauge.
- In thePropertiespane, create a dynamic link between theValueand .For more information about dynamic links, see Create dynamic links.
- Set the value gauge warning zone 1:
- In thePropertiespane, next toWarning zones, select .
- UnderWarningZone1, set theColorproperty value to#f30000.
- Create a dynamic link between theFromproperty and .For more information about dynamic links, see Create dynamic links.
- Create a dynamic link between theToproperty and .For more information about dynamic links, see Create dynamic links.
- Set the value gauge warning zone 2:
- Next toWarning zones, select .
- UnderWarningZone2, set theColorproperty value to#02d92d.
- Create a dynamic link between theFromproperty and .For more information about dynamic links, see Create dynamic links.
- Create a dynamic link between theToproperty and .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 between theFromproperty and .For more information about dynamic links, see Create dynamic links.
- Create a dynamic link between thetoproperty and .For more information about dynamic links, see Create dynamic links.
- Create the value label:
- In theProject viewpane, right-clickMainWIndow (Type)and select .
- Hover-over a gauge, select , and enter:ValueLabel.
- In thePropertiespane, create a dynamic link between theTextproperty andFor more information about dynamic links, see Create dynamic links.
- Create the value spin box:
- In theProject viewpane, right-clickMainWIndow (Type)and select .
- Hover-over a gauge, select , and enter:ValueSpinBox.
- In thePropertiespane, create a dynamic link between theValueproperty andFor more information about dynamic links, see Create dynamic links.
- Create the value text box:
- In theProject viewpane, right-clickMainWIndow (Type)and select .
- Hover-over a gauge, select , and enter:ValueTextBox.
- In thePropertiespane, create a dynamic link between theTextproperty andFor more information about dynamic links, see Create dynamic links.
Fornire un feedback