Why doesn't the new component wizard display the ancestor classes?

I am trying to create a new VCL component in RAD Studio XE2. I got the same result using C ++ Builder or Delphi:

New-component wizard displaying no ancestors

How do I get a list of VCL components? I tried to "restore settings", but didn't have time.

+3


source to share


2 answers


This happens when your design-time package list is empty. So, for some reason I am guessing that you lost your design time packages. Restore them as follows:

  • From the menu, select Component | Install packages .
  • If you see anything in the list, check at least the Embarcadero Standard Components .
  • If the default Embarcadero components are not listed , click Add and navigate to the Delphi bin directory (C: \ Program Files (x86) \ Embarcadero \ RAD Studio \ 9.0 \ bin).
  • Then select dclstd160.bpl .
  • Also add any other packages you need. You might want to include more than just the standard components.


At this point, the New Component dialog will start offering you some ancestor components.

+5


source


For those who haven't solved the problem yet, it seems that the PowerPDF package disallows the ancestor list. (for unknown reasons) If you installed it, try temporarily disabling it in the Component / Installed packages (uncheck the PowerPDF Design-time checkbox). Magically, all your ancestors will reappear .... :-)



0


source







All Articles