note that the Eiffel applications must be compiled in order to use them in a DM application. If you have not done so, compile the application we will use in this example - you can find it in ... examples\dm\calc. Either use the Visual Eiffel workbench, load this project and compile it or use the compile DM examples button in the Visual Eiffel group. Another way is to use command line processing; go into the directory mentioned above and enter:
vec /a:calc.esd
Now you can activate DM - press the icon in the Visual
Eiffel group.
Double-clicking CALC will result in
The button opens the project. You should
select
. The list of all forms will appear:
Select the calculator and you will see the complete widget. You cannot run it, but it is possible to change it now.
Click on a button and move it (keep the mouse button pressed).
It is also possible to delete widgets and to change them. You can find more about this in another page.
We will now run the application (perhaps after some small modifications ;-). To do so,
press the button. The widget will appear
again - but now you can use it as a calculator. As they look very similar, be sure that
you use the correct one!
Now you can play - for all questions consult the DM Frequent Asked Questions (FAQ) page.