Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 870399
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T10:28:05+00:00 2026-05-15T10:28:05+00:00

I am trying to wrap up a TFrame descendant as an ActiveX control, but

  • 0

I am trying to wrap up a TFrame descendant as an ActiveX control, but don’t seem to be able to get the control to show up in the ActiveX Control wizard. Is this approach possible, and if so, are there any working examples that I can be pointed at.

I have tried to follow the instructions here, but as I said the control show in the list of available controls.

Thanks in advance.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T10:28:06+00:00Added an answer on May 15, 2026 at 10:28 am

    @Mmarquee, the easy way to do this is use an Activeform , this is an ActiveX control that encapsulates a Delphi form, you can use the @Francois suggestion or the next aproach wich makes easy deploy any standard form as an activex control.

    First you need to create a new activex control

    alt text

    then you add new activeform

    alt text

    Now , you need to create a new standard form and put your component here.

    Add the uses of your standard form to the unit where is located the TActiveForm and declare an variable of your standard form in this way

    uses
      Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
      ActiveX, AxCtrls, Project75_TLB, StdVcl,
      Form1; //your unit with the standard form
    
    type
      TActiveFormX = class(TActiveForm, IActiveFormX)
       private
    
       ...
       public
       MyForm :  TForm1;
    

    finally in the oncreate event of the ActiveForm you put the code to call the standard form and embeded inside of the activeform.

    procedure TActiveFormX.ActiveFormCreate(Sender: TObject);
    begin
      MyForm := TForm1.Create(Self); //set the owner 
      MyForm.Parent := Self;//embed the form
      MyForm.Align := alClient;
      MyForm.BorderStyle := bsNone; //hide the border of the form
      MyForm.Visible := True;//makes the form visible
    end;
    

    for more info check theses links

    • Creating a VCL Forms ActiveX Active Form
    • Talking to ActiveForms
    • Building ActiveX Controls with Delphi 3 (old , but with excellent information)
    • Delphi 5 Developer’s Guide: Creating an ActiveX control
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to wrap my head around this, but I seem to go in
I'm trying to wrap printf in a C program (well, actually _snprintf but this
Im trying to wrap my head around this but am spending too much time
I trying to wrap my head around setTimeout , but I can't get it
I am trying to wrap my head around serialization. But what happens if for
I am trying to wrap my head around javascript modules, but I'm unsure how
I am trying to wrap my head around the syntax of Haskell. This problem
I'm trying to wrap my head around this to make the correct design decisions.
I've been trying to wrap my head around this issue: How to create a
Still trying to wrap my noggin around OAuth, but I have a question. I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.