Links
EControl Form Designer Pro
TPackageMng Class

TPackageMng is a global registration object for components, property and component editors, actions and so on.

TPackageMng = class;

ed_RegComps

TPackageMng is used to control and registration designer objects such as: components, property and component editors, actions ... 

 

This class performs loading packages, registration packages (calls Register method of each unit in the package), reading/saving its state from the registry, registration of frames, customizing palette and packages list.

Do not create objects of this class. Use global variable PackageMng to access registration information.

Topic 
Description 
The methods of the TPackageMng class are listed here. 
The properties of the TPackageMng class are listed here. 
The events of the TPackageMng class are listed here. 
 
Method 
 
virtual 
 
Property 
 
read only 
 
Event 
TPackageMng Events 
Description 
Occurs before component will be registered. 
Occurs when new component class is registered in component palette. 
Occurs when component information is unregistered, i.e. removed from component palette. 
TPackageMng Methods 
Description 
Adds new component information. 
Loads package (usually *.bpl file). 
Suspends visual palette updating. 
Creates and initializes global PackageMng object. 
Display dialog to add new frame to the application. 
Display dialog to customize loaded package list. 
Display dialog to customize component palette. 
Deletes (unregisters) component information from manager. 
Destroys global PackageMng object. 
Re-enables visual palette updating. 
Looks for registration information for the specified component class. 
Looks for registration information for the specified component class name. 
Looks for registration information for the specified component class name. 
Looks for registration information for the specified package name. 
Returns Custom Module object for specified Root. 
Checks whether components of this class should not be displayed. 
 
Reads information about installed packages and component palette from the registry. Returns True if reading was successful. 
Registers frame class. 
Removes all empty pages from component palette. 
Removes all registration information associated with the package. 
Renames component panel page. 
Resets component palette to its initial configuration. 
 
Saves information about installed packages and component palette in the registry. Returns True if saving was successful. 
Moves component information to specified position in palette. 
TPackageMng Properties 
Description 
Specifies whether packages information should be saved automatically. 
Specifies number of registered component classes. 
Specifies indexed access to registered components. 
Specifies description list of registered component classes. 
Specifies list of loaded packages. 
Specifies list of palette pages. 
Specifies registry key to which packages information will be saved\loaded. 
Copyright (c) 2004 - 2011 EControl Ltd.. All rights reserved.
What do you think about this topic? Send feedback!