Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

OCX and TImage

Posted on 1998-11-17
2
Medium Priority
?
207 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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

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…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…
Are you ready to place your question in front of subject-matter experts for more timely responses? With the release of Priority Question, Premium Members, Team Accounts and Qualified Experts can now identify the emergent level of their issue, signal…
Suggested Courses

610 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