Create the application interface
Create a gauge, labels, spin box, and buttons.
- Create the gauge:
- In theProject viewpane, expand theUIfolder.
- Right-clickMainWindow (type)and select .
- In thePropertiespane, create a dynamic link betweenValueand .For more information about dynamic links, see Create dynamic links.
- Create the value label:
- Right-clickMainWindow (type)and select .
- Hover-over the label, select , and enterValueLabel
- In thePropertiespane, set theTextproperty value toVALUE
- Create the step label:
- Right-clickMainWindow (type)and select .
- Hover-over the label, select , and enterStepLabel
- In thePropertiespane, set theTextproperty value toSTEP
- Create the spin box:
- Right-clickMainWindow (type)and select .
- In thePropertiespane, create a dynamic link betweenValueand .For more information about dynamic links, see Create dynamic links.
- Create the message label:
- Right-clickMainWindow (type)and select .
- Hover-over the label, select , and enterMessageLabel
- In thePropertiespane, create a dynamic link betweenValueand .For more information about dynamic links, see Create dynamic links.
- Create the start button:
- Right-clickMainWindow (type)and select .
- Hover-over the button, select , and enterStartButton
- In thePropertiespane, set theTextproperty value toSTART
- Create an advanced dynamic link betweenEnabledand with an expression evaluator!{0}For more information about dynamic links, see Create dynamic links.
- In theEventspane, next toMouseClick eventselect and select .MANCIA: If you cannot complete this step, save the project and reopen it.
- Create the stop button:
- Right-clickMainWindow (type)and select .
- Hover-over the button, select , and enterStopButton
- In thePropertiespane, set theTextproperty value toSTOP
- Create a dynamic link betweenEnabledand .For more information about dynamic links, see Create dynamic links.
- In theEventspane, next toMouseClick eventselect and select .MANCIA: If you cannot complete this step, save the project and reopen it.
- Arrange the interface elements.
Fornire un feedback