Creating and Loading Components (Magic xpa 4.x)
How do I create a component interface?
This section explains how to create an interface and load a component into a host project. You construct the component interface file using the Component Interface Builders, which you can access from the Magic xpa Options menu.
The Component Interface Builders let you build an interface to a host project by creating a Magic xpa Component Interface file (ECI), which is actually a pure text file. You can use the Component Interface Builders to reveal properties or to remove previously revealed properties.
The Component Interface Builders store the components in a database, allowing easy access to create or modify the interface. When the builder is loaded, all objects that have public names are added to the database. In addition, the Component Interface Builders lets you reveal various environment and setup properties, including:
-
Servers
-
Services
-
Databases
-
Logical Names
-
Environment Settings
The full list of the environment settings that may be revealed can be found in the Magic xpa Reference Guide.
The Component Builders also let you supply a Help file to assist developers who use the component.
A new interface should be created when:
-
An object that has been revealed is deleted
-
A new object needs to be revealed
-
The External check box in the Program repository was changed
In this section, you can find information about the following:
Loading Components into Host Projects
Developing with a Component