Solved

Apply the VCL Style on an ActiveX in DELPHI XE2

Posted on 2013-01-30
4
1,029 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
  • 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Virtualstringtree carsh after invalidate for while 5 86
Strange behavior when a form is closed 6 50
select query - oracle 16 91
Delphi inherited method 6 61
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…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
This is a video that shows how the OnPage alerts system integrates into ConnectWise, how a trigger is set, how a page is sent via the trigger, and how the SENT, DELIVERED, READ & REPLIED receipts get entered into the internal tab of the ConnectWise …
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

930 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now