Creating a VCL Forms ActiveX Button

Like a Delphi control, an ActiveX control generates program code when you place the component on a form or other logical container in the IDE. The main difference between an ActiveX control and a Delphi control is that an ActiveX control is language independent. You can create ActiveX controls for deployment to a variety of programming environments on Windows, not just Delphi or C++Builder, for example.

This procedure uses the VCL forms ActiveX wizard to create an ActiveX control. To test the control, you can install it on your machine as a VCL component in the IDE. To install the control, you first need to create a package for it. This procedure consists of the following major steps:

  1. Create an ActiveX library project for an ActiveX button control.
  2. Register the ActiveX button so its icon can be displayed in the toolbar.
  3. Create a package for the ActiveX button.
  4. Install the package.
  5. Test the ActiveX button.
Project Management Made Easy

Project Management Made Easy

What you need to know about… Project Management Made Easy! Project management consists of more than just a large building project and can encompass small projects as well. No matter what the size of your project, you need to have some sort of project management. How you manage your project has everything to do with its outcome.

Get My Free Ebook


Post a comment