RAD Studio (Common)
ContentsIndex
PreviousUpNext
Active Form Wizard

FileNewOther...Active Form 

Use the Active Form wizard to add an Active Form to an ActiveX Library project. The wizard creates an ActiveX Library project (if needed), a type library, a form, an implementation unit, and a unit containing corresponding type library declarations.

Item 
Description 
VCL Class Name 
When creating Active forms, this control is disabled because active forms are always based on TActiveForm.  
New ActiveX Name 
The wizard provides a default name that clients will use to identify your Active form. Change this name to provide a different OLE class name.  
Implementation Unit 
The wizard a default name for the unit that contains.CPP and .H files that contain the code that implements the behavior of the Active form. You can accept the default name or type in a new name.  
Project Name 
Active forms must be added to an ActiveX library project. If you currently don't have an ActiveX Library project open, a fourth field allows you to specify which ActiveX Library project to add the ActiveForm control. A default Project Name is provided. This control is disabled if you have an ActiveX Library open..  
Threading Model 
Choose the threading model to indicate how COM serializes calls to your ActiveX form. Note: The threading model you choose determines how the object is registered. You must make sure that your object implementation adheres to the model selected.  
Include Version Information 
This option includes version information in the .OCX file. Adding this resource to your control allows your control to expose information about the module, such as copyright and file description, which can be viewed in the browser. Version information can be specified by choosing ProjectOptions and selecting the Version Info page.  
Include About Box 
When this box is checked, an About box is included in the project. The About box is a separate form that you can modify. By default, the About box includes the name of the Active Form, an image, copyright information, and an OK button.  
Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!