Original article transferred from: Click to open the link
I have been learning Delphi for some time and have encountered many problems during this period. For example, it is very troublesome to ensure that two ActiveX controls are available at the same time in my D7. To change the project, you need to re-install the ActiveX control you need, which is too troublesome. The solution is as follows:
1. Open Delphi, choose menu> close all (this one is not needed, but our leaders recommend me to do this, so I also recommend you to do this );
2. Find the "open" button and click. Find "D: \ Program Files \ Borland \ Delphi7 \ Lib \ dclusr. dpk", and double-click;
3. click "add" → select the third tab "Import ActiveX" → find the first ActiveX control you want to use, and then click "OK" to continue adding, add all the things you need. Then click "compile". Now you can see that your ActiveX has all the controls you have added. Save it (I don't know if it will succeed if I don't save it!