Home > Back-end >  How to use the ActiveX controls in Embarcadero C Builder XE?
How to use the ActiveX controls in Embarcadero C Builder XE?

Time:10-18

I import controls in the menu: Components - & gt; Imports Component,

If choose to import the ActiveX, select the corresponding control, make the Unit, the IDE without any mistakes, but it can't see the ActiveX classification, in the Tools panel also can not find the import controls,
If choose to import the ActiveX, select the corresponding control and join the current project, the IDE without any error, in the current project will be much more xxxxLib_OCX and xxxxLib_TLB two sets of files, but still can't see the ActiveX classification in the Tools panel, also can not find the import controls,

So, on the Tools panel without control, also can't drag on the Form,

Who knows what is my operation is not correct? Or is there any other questions?

I tried several kinds of control are not, such as Adobe Reader, Windows Media Player,...

CodePudding user response:

Don't have XE, only 2010 and XE2
But does also met your problem before
Note:
1. Do not open the Embarcadero RAD Studio, and should open the c + + Builder XE
2. Choose the VCL For c + + Win32 (don't choose DELPHI)
3. Change the unit best path and the new package
4. Check the packages after successful installation options, no manually add, to see if an error, what is wrong to

CodePudding user response:

1, I opened the is c + + Builder XE,
2, the VCL For c + + Win32 where to choose?
3, 4, is it still cannot be directly use after installation control, how can drag and drop on the UI design to add ActiveX controls?

CodePudding user response:

Components - & gt; Imports Component - & gt; Imports ActiveX Control - & gt; List is selected, not just add - & gt; Next,

CodePudding user response:

I am in this way! But after finish, there is no any wrong, and does not appear on the Tools panel I want to add controls,

Why is this?

reference zzbinfo reply: 3/f
Components - & gt; Imports Component - & gt; Imports ActiveX Control - & gt; List is selected, not just add - & gt; Next,

CodePudding user response:

In 2010, to build a package engineering (file - & gt; New - & gt; Package - & gt; C + + builder), then Imports the ActiveX Control, and then one of the pop-up dialog box with the Add unit to Package1. Cbproj project options, and then is to compile the project, find the generated. BPL file, the file path you have set in Imports ActiveX Control,
In the end, the Components - & gt; The install packages... Add just generated. BPL file, it can be found in the tools,

CodePudding user response:

Xe2 I haven't installed yet, don't know will be different,

CodePudding user response:

As you said, I first made the BPL, and then use the Components - & gt; The install packages added,
But in the tools or didn't see ah...

reference 5 floor mintask reply:
in 2010, to build a package engineering (file - & gt; New - & gt; Package - & gt; C + + builder), then Imports the ActiveX Control, and then one of the pop-up dialog box with the Add unit to Package1. Cbproj project options, and then is to compile the project, find the generated. BPL file, the file path you have set in Imports ActiveX Control,
.

CodePudding user response:

Xe2 didn't pack, did before, in each group in the tools panel at all the controls you add?

CodePudding user response:

Also, the Components - & gt; The Import Component choosing the palette page?

CodePudding user response:

Whether the default Active the Palette, or my own naming a new Palette page, add after all didn't, did not even appear the Palette group labels,

CodePudding user response:

Machine can't use my registration xe2, if good you can try,

CodePudding user response:

I tried it on in the XE2, do not have what problem, with the process is the same as in 2010, in UI design interface, the tool palette can find the newly added controls, don't know what to do with your XE have what distinction,

I cut some figure, tell me the email, and then sent to you,

CodePudding user response:

Email already SMS to you, thank you,

In addition, I do experiment is that taking the PDF Reader, Foxit Reader and Adobe Reader are tried, always in the tool palette, can't see the ActiveX control,
It's convenient for you, can you help me try to PDF reader is embedded into the VCL on the Form?
Thank you,

CodePudding user response:

PDF reader sent mail, you say, I installed a try, the machine seems to have no,

CodePudding user response:

I also for this problem for a long time, installed pakage, is in the new VCL project, tool pallete can't see the AcitveX controls, very trouble, trouble know tell me,
Or where I made a mistake?

CodePudding user response:

XE without this problem, you said you don't choose on which panel tool on pallete, such as Sample, ActiveX panel and so on

CodePudding user response:

In BCB6 met this situation before
After first remove clean, check tools - & gt; The environment options - & gt; The type library - & gt; Ignore (a string of characters, omitted) - & gt; Can Create and import
  • Related