Getting Started

Click (using button 1 of the mouse) on the shell icon, the one at the top left of the icon Palette down the left edge of the WorkShop Visual display. This puts the icon in the Drawing Area to the right of the Palette, and highlights all the other icons in the Palette that can now be selected.

Select the icon just below the shell icon in the Palette. This is the 'Main Window' icon, and is used as the first window, or main window, of the user interface being created. A minimal window will pop-up which is known as the Design Window, a visual and live representation of the window that you are creating. Move this to one side.

The Design Area now has several icons on it, and is the beginning of the widget hierarchy for the Design Window. The main window is a container widget, which automatically provides one or two other icons.

Select the menu bar icon, the third down on the left in the Palette. Only the cascade button icon should now be highlighted on the Palette. Select a few of these. The design window now has several cascade buttons called "cascade". You can select these, but nothing will happen yet. The currently selected widget is highlighted, both in the hierarchy in the Design Area and in the Design Window.

To change the name of a cascade button, select one of the cascade button icons in the Design Area, and click on it a second time. This will bring up a Label resource panel. Double click in the field marked (cascade) and type the name for the button, Edit for instance. Now select Apply at the bottom of the Label resource panel. The new name now appears in the Design Window (the application you are building). Select another cascade button and change that name.

Note that the Label resource panel can be left displayed, and as you select new cascade buttons, so the values in the panel refer to the newly selected widget. When names have been given to all the buttons, the panel can be closed.

Menu icons can be added below the cascade buttons, and button icons below the menu icons. Names are given to the buttons in the same way as for cascade buttons.

You now have sufficient to generate some code, so choose C from the Generate pulldown menu at the top of the WorkShop Visual display. A Generate dialog comes up. Click in the Selection field, and type the name of a new file, test.c for instance. Now select OK, or just type , which automatically selects OK. The dialog disappears, and the code is generated.

To exit the tool, select Exit from the File pulldown menu at the top of the WorkShop Visual display.

See also: