Recent

Author Topic: TComponent and Component Editor 'not in Source' issue  (Read 4235 times)

siegfriedn

  • New Member
  • *
  • Posts: 22
TComponent and Component Editor 'not in Source' issue
« on: March 09, 2010, 11:19:38 pm »
Hi,

I have created a custom Component Editor (functionality copied from the fieldseditor.pas and newfield.pas ~ The Fields editor of a TDataset)

All is working ok, except that when I add a new class (also derived from TComponent) (Equivalent to TField) the class is created correctly in the component editor, The class also appears in the lfm file, but not in the unit source which holds the owner (TForm) of the component!!??

Does anybody know where I can look or how to try and debug this?

Thanks,

Siegfried


siegfriedn

  • New Member
  • *
  • Posts: 22
Re: TComponent and Component Editor 'not in Source' issue
« Reply #1 on: March 18, 2010, 11:33:08 pm »
 :)

Solution!

Use the
RegisterNoIcon([..]) procedure !

Siegfried

 

TinyPortal © 2005-2018