developer's mag
main page
article
part 1
part 2
part 3
part 4
part 5
|
5 - Three Steps to Form Building
To go from form display to working
program:
- Download and unzip the basic program files into a directory called eg_1. You'll be
building under cygwin, so make sure it's
part of your build directory. If you create
the directory right off of the default franklin
root, you can work with it by launching cygwin,
and entering 'cd /franklin/eg_1'.
- Run the editor, choose the export option,
and export to a file (eg_1.cpp in the /franklin/eg_1
directory). Remember to include the main()
function.
- From cygwin, go to the eg_1 directory, execute
make, and run the emulator to see the results.
This should give you the basic form. From
this point, you can add and adjust controls,
and tinker as you wish. Remember to save
the form at the end.
This covers the basics of the editor. Part
two will continue with discussing how the
code can be used with a real project.
Previous Section
|