Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Object-Pascal / Delphi-Language (https://www.delphipraxis.net/32-object-pascal-delphi-language/)
-   -   Prism CollectionEditor nicht nutzbar (https://www.delphipraxis.net/59975-collectioneditor-nicht-nutzbar.html)

Taladan 31. Dez 2005 19:17


CollectionEditor nicht nutzbar
 
Ich möchte gern für eine Komponente den CollectionEditor nutzen. Doch Delphi sagt mir immer, das es diese Kompo nicht gibt.

Hier ein Teil der Beispielkomponte aus dem Buch Delphi 2005 von Elmar Warken. Doch selbst diese will Delphi nich kompilieren, weil es CollectionEditor nicht geben soll :-(

Delphi-Quellcode:
 
uses
  System.Drawing,
  System.Drawing.Design,
  System.Windows.Forms,
  System.Windows.Forms.Design,
  System.Collections,
  System.Collections.Specialized,
  System.Reflection,
  System.ComponentModel.Design,
  System.ComponentModel,
  System.Globalization,
  System.ComponentModel.Design.Serialization;

type
  // RadioGroupItemCollectionEditor
  // Sorgt in allen Fällen des Editierens der Item-Auflistung für
  // das Neuzeichnen des Controls im Designer
RadioGroupItemCollectionEditor = class(CollectionEditor)
  public
    function EditValue(context: ITypeDescriptorContext;
      provider: IServiceProvider; value: TObject): TObject; override;
  public
    constructor Create(t: System.Type);
  end;

MagicAndre1981 31. Dez 2005 19:26

Re: CollectionEditor nicht nutzbar
 
haste auch die Referenz auf die DLL im Projekt eingestellt?


Alle Zeitangaben in WEZ +1. Es ist jetzt 06:46 Uhr.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz