>>  <<  Ndx  Usr  Pri  JfC  LJ  Phr  Dic  Rel  Voc  !:  wd  Help  User

Form Edit Hints

Pick a good form id at the outset, to avoid having to change it later.

Create a new script and save it as a permanent file. The form id might be a good name for the script.

Menu command Edit/Form Edit activates the form editor. It asks for a form id and a template.

Use the Design Dialog to create, position, and size controls. The New button activates the New Control Dialog used to add new controls to the form.

In dialogs such as New Control, OK performs the action and returns to the Design Dialog, and Apply performs the action and stays in the dialog.

Ctrl+C copies the collection to an internal clipboard and Ctrl+V, Ctrl+B, or Ctrl+N paste. For example, create a radiobutton, move it, Ctrl+C, and do Ctrl+N several times.

You can open more than one form and copy and paste between forms.

Create the controls you want and position and size them roughly. Fine tune position, size, and alignment, after everything is on the form.

Customize control styles, captions, and ids with the Control Dialog. Give descriptive ids to controls that cause events or will be used in wd commands.

Create a menu with the Menu Dialog.

Set the tab order after the form is pretty much complete. Moving, adding, or deleting controls require redoing the tab order. Radiobuttons are automatically grouped if they are in the right tab order.

Run the form with the Design Dialog Run button. This shows the form as it will look to the user. Check the tab order and test your event handlers.

The Code Dialog shows which verbs are required to handle events and allows you to activate the form script and position the caret at the definition. Do not add handlers until the layout is settled.

Ctrl+click a control, a menu item, or the script to switch between the script and the form editor.


>>  <<  Ndx  Usr  Pri  JfC  LJ  Phr  Dic  Rel  Voc  !:  wd  Help  User