Common Features

While each Object Editor is designed for a specific Application Object type, the Object Editors have much in common. The common features are labeled on the Form Editor shown below.

 

The following sections of this chapter describe the features common to all Object Editors. Later chapters describe the unique features of each Object Editor in detail. 

Menu Prompt and Command

An Object Editorís Menu Prompt field displays the prompt text of the menu option that runs the Application Object. The Menu Command field shows the menu command.

When you create a Menu Object, VPM Enterprise automatically builds the menu command and inserts it into the menu file.

The Object Editor of a Menu Object lets you edit the menu command in case you need to change it. However, you should rarely need to change it. The Menu Command field on a Called Objectís Object Editor is not editable.

See the Menus chapter in the Technical Reference manual for more information on how VPM Enterprise builds menu commands.

Application Object Name and Path

The Name field displays the Application Objectís file name. The Path field shows where the Application Object file is stored.

Before you select the Edit button on an Object Editor for the first time to create an Application Object, you can edit the Path field and change the directory in which the object will be stored. However, if you store the Application Object outside the VPM Enterprise or current project directories, VPM Enterprise wonít be able to find the objectís file the next time you display its Object Editor. We recommend that you accept the path VPM Enterprise suggests unless you have an important reason to store an Application Objectís file elsewhere.

Edit Button

You create an Application Object using its Visual FoxPro Designer. You access the Designer for an Application Object by clicking the Edit button on the objectís Editor.

The following table shows the Designer each Application Object uses.

Application Object

Designer

Form

Visual FoxPro Form Designer

Program

Visual FoxPro Text Editor

Report

Visual FoxPro Report Designer

Label

Visual FoxPro Report Designer

Query

Visual FoxPro Query Designer

Called Objects

All Object Editors contain a Called Objects list box. We recommend that you create the Application Objects called by an Application Object from its Called Objects box. You donít have to do that, but if you do, youíll have an organized way to locate and work on Called Objects.

See the Called Objects for instructions on using the command buttons in the Called Objects box.

OK and Calling Object Buttons

Calling Object: The Calling Object button is only enabled when you display an Object Editor for a Called Object. The Calling Object button returns you to the Object Editor of the calling object. If youíve opened an Object Editor for a Called Object thatís several layers deep, you can successively progress back up the calling object chain by clicking the Calling Object button. 

OK: If you want to exit a Called Objectís Object Editor without returning to itís calling object, just click OK. OK always returns you directly to the Object Builder.

 

More:

Called Objects