ebmDevMag.com home
ebm Developer's Magazine
links

developer's mag
main page

article
part 1
part 2
part 3
part 4
part 5


4 - Menu Options

Although loading and saving forms have already been covered, there are other options that are useful or necessary in working with forms. Obviously, exiting the program, viewing the about box and help file need no more explanation, but some of the other menu options do:

File/Export - this dialog is what you use to output the source code. There are a variety of options; consult the help file for more details. Generally, if the form is part of a larger project, you don't need to output the main() function. As well, Unix text vs Windows need only be changed if you experience problems.

The edit menu options for grids relate to alignment. For instance, if you drop an object with grids enabled (and set to four, the default), then the object will only set itself at a position in multiples of four (0, 4, 8, etc). Enabling grid alignment, or setting a grid value turns this on.

Three other edit controls (Delete Item, Move to Front, and Move to Back), are obvious once you use them. Moving objects to front and back affects how they display, and is important as you create overlapping control displays. Otherwise, your background rectangle could easily cover your foreground button!

The final Edit menu option, Unlock Form, prevents a nasty problem - if you try to click on a control to move, and miss, it will select the form, and possible move it. More than likely you'll leave this on, and turn it off for the initial display work

Source Menu options - part two discusses these in more detail.

Finally, when working on a form, you can enlarge the display to get a better view of things with View/Display. The two options both enlarge and restore the display.

Previous Section
Next Section

Copyright © 2001-2006 ebmDevMag.com - Legal Notice