Step 1 Create a Copy of Form XDXSettingsDialog

Visual LANSA

Step 1. Create a Copy of Form XDXSettingsDialog

VED010 - Format Source Code

In this step you will create a copy of the XDXSettingsDialog form for editing.

Forms are used to create graphical Windows applications. Forms have a design layout (a sample of the form design), as well as RDMLX code that is used to control the behavior of the form. You will use this sample form to learn the basics of controlling the display of LANSA code in the editor. The actual meaning of the code is not important at this stage.

Creating a copy of form XDXSettingsDialog will enable you to edit the form.

1.  On the Repository tab, expand the Forms node.

2.  Expand the X node to see a list of all forms starting with the letter X.

3.  Right-click form XDXSettingsDialog and choose the Copy option from the context menu.

4.  The Create as copy of XDXSettingDialog dialog will appear.

     Enter a Name of iiiSettingsDialog (where iii=your initials) or DEMCOM01 if you are using a trial version of Visual LANSA.

     Note that a Framework of Personnel & Payroll has also been selected. Components are organized into Frameworks. You can change a component's Framework setting at any time.

5.  Press the Create button.

6.  The form is opened for editing. The Design tab is selected by default and the design layout of form is shown.

7.  Display the Source by clicking on the tab.

     The Source tab shows the source code of the form.

     Note:  Do not compile this form. We will simply use this code as an example to demonstrate editor features. Leave form iiiSettingsDialog open in the editor.