Rockwell Automation 8520-9API 9/Series OCI API Developer's Guide User Manual

Page 30

Advertising
background image

3–9

OCI Basic Display Set (BDS)

Publication 8520-6.6 - August 1999

To make a copy of the MASTER.FRM:

1. Open a dummy Visual Basic project. The default “Project1” is

acceptable.

2. Under the Visual Basic “File” menu select “Add File”. Browse

to your Basic Display set source code directory and select the
master.frm you wish to use for your new screen.

3. From the project window open the form and press F4 to bring up

the properties sheet.

4. On the properties form change the “Name” field for the form to

something other than one already used in the OCI Basic Display
Set source code (this name should be descriptive of what you plan
to use this form for). You may also choose to change the
“Caption” field at this time as well.

5. From the “File” menu select “Save File As”.

6. Type in a new file name for the form in the Save As dialog box

and select save. This must also be a unique file name not already
used in the Basic Display Set source code.

7. From the “File” menu select “Open Project”. Visual Basic will

prompt you to “Save Changes to ...”. Assuming you already
saved the file from step 5., you should be able to select “No to
All” on this dialog.

8. Open the Basic Display Set Visual Basic source project

(ABOCI.VBP). You should find this file in the directory you
specified when you installed the Basic Display Set source code.

9. Under the Visual Basic “File” menu select “Add File”. Select

the form name you saved in step 6.

This will add your copy of the master form to the Basic Display Set
source project while keeping the original master form intact.

Advertising