In this section, we will actually add the state machine to the form, so we can use it. Using menu items for this is a nice concise way to control the state machine, and follows the UI patterns found in other areas, such as the projects module.
Using menu items to control a state machine
Getting ready
The prerequisite for this recipe is that we have a table with a state machine that has been generated.
How to do it...
To create the state machine menu items, follow these steps:
- Add a new action menu item to the project named ConWHSVehInspStatusWaiting. Complete the property sheet as follows, in the order stated in...