Adding a form to a program

KCML forms provide the developer with an integrated development environment which is directly available from within the KCML 5 Workbench. To create a form in your program, make sure the browser window is visible and in forms browsing mode by clicking the forms button on the browser toolbar. This will bring up a dialog asking you to enter the object name for the form. It will then insert a DEFFORM stub into you program at the current cursor position.

You now need to design the form by right clicking the DEFFORM statment and picking Edit from the context menu which will display the KCML Forms Editor. After designing the form, close the forms designer which returns you back to the KCML Workbench. Once back in the Workbench you should see the statements generated by the forms designer. Execute the program (F11) and the form will be displayed. To re-edit the form simply double right click on the form definition statement and the form editor is then re-displayed.