?
Solved

OCX and TImage

Posted on 1998-11-17
2
Medium Priority
?
205 Views
Last Modified: 2010-04-04
How can I create a ActiveX control that is not in the VCL Class Name of ActiveX Control Wizard ? Or how can I add class to it ?

Actually, I want to create a ActiveX control that is using TImage ! Anyway, solution ?

Andrew
0
Comment
Question by:andrewyu
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 2

Accepted Solution

by:
Thaddy earned 0 total points
ID: 1347106
The VCL components suitable for the wizard need to descend from Twincontrol, but you can encapsulate a Timage in it:

TOcxImage=class(Twincontrol)
  Fimage:Timage;
 public
   constructor create(Aowner:Tcomponent);override;
   destructor destroy;override;
 published
   image:Timage read Fimage write Fimage;
 end;


0
 

Author Comment

by:andrewyu
ID: 1347107
Thank you very much !

Andrew
0

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…
Suggested Courses
Course of the Month13 days, 2 hours left to enroll

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question