GUI Development in Program Mode
You design and debug your GUI application in program mode.
To begin, start Epson RC+ 8.0 in program mode.
Design the GUI
To design the GUI for your application, follow these steps as a simple guideline.
- Create one or more forms for the application. Typically you will designate one of the forms to be your main form.
- Decide on how you want to start the GUI.
You can set one of the forms as your startup form.
This form will automatically be displayed when RC+ starts in auto mode.
If you do not want to display a form at startup, then the Operator Window will be displayed and you can display any form from SPEL+ code using GShow or GShowDialog. - Add controls to the forms.
- Add desired events to the controls.
- For details on working with forms and controls, see the following chapter.
How to work with forms and controls
Debugging
You can run any of the forms in the project from the Run Window.
- Open the Run Window
- Select the form you want to run from the dropdown list.
- Click Start. The selected form will be displayed and you can use the controls on the form.
- To stop, close all forms, or click the Stop button on the Run Window.
GUI event handlers run as SPEL+ tasks, so you can set a breakpoint in any event handler, step through code, and view variable values.