Solved

Apply the VCL Style on an ActiveX in DELPHI XE2

Posted on 2013-01-30
4
1,061 Views
Last Modified: 2013-02-06
Almost all our GUI is embedded on OCXs, thus is very important for us to have that feature and allow to apply the VCL-Styles to the DLLs (OCXs in our case).

However our IDE doesn't have that feature that other people has on Delphi XE2 > Project > Resources and images... (Find attach two pictures the one without the VCLSTyle is our IDE)

Have someone try to embed the a VCLStyle in a DLL or an OCX on Delphi XE2?

Thanks.
Missing-VCLStyle-type-.png
VCLStyle-type.png
0
Comment
Question by:Aralia_Systems
[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
  • 3
4 Comments
 
LVL 19

Assisted Solution

by:Thommy
Thommy earned 50 total points
ID: 38837506
Maybe this helps you...
VCL-Styles embedded in dll?
0
 

Assisted Solution

by:Aralia_Systems
Aralia_Systems earned 0 total points
ID: 38839944
Yes, we already worked around that link, before post this question. And today, we know that the VCLStyle resource type can be added if you write on resource type combo box manually VCLSTYLE. Thus our OCX can be build with the VCLStyle embedded.

However our OCX still running without applying the VCLStyle.

Do we need something more on the OCX apart of the fact of add the *.vsf as a VCLSTYLE resource?
0
 

Accepted Solution

by:
Aralia_Systems earned 0 total points
ID: 38843327
Finally, the OCX is running with the VCLStyle to do that we have needed to embed the VCL Style as a resource and setup that Style on the OCX.

  TStyleManager.SetStyle('Carbon');
0
 

Author Closing Comment

by:Aralia_Systems
ID: 38858680
Thanks Rodrigo for your help.
0

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

749 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