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

x
?
Solved

Apply the VCL Style on an ActiveX in DELPHI XE2

Posted on 2013-01-30
4
Medium Priority
?
1,139 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 200 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

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…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
Video by: ITPro.TV
In this episode Don builds upon the troubleshooting techniques by demonstrating how to properly monitor a vSphere deployment to detect problems before they occur. He begins the show using tools found within the vSphere suite as ends the show demonst…
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …
Suggested Courses

596 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