To compile the example:
- Launch EiffelStudio.
- Click Add project
- Browse to $ISE_EIFFEL\examples\wel\controls\.
- Choose controls.ecf
- Choose the location where the project will be compiled, by default the same directory containing the configuration file.
- Click OK.
After launching the program, an empty window will be displayed. There are numerous menus in the window, each relating to a different type of control. Each menu has "Create" and "Delete" along with a other options specific to each control. By selecting these menu options, controls will be created and modified as demonstrated in the above illustration.
Under the Hood
Each menu is an instance of WEL_MENU and on_menu_command has been redefined in
MAIN_WINDOW to perform the appropriate actions. This sample contains the following classes:
- Parent <WEL Samples>