Einzelnen Beitrag anzeigen

Poolspieler

Registriert seit: 9. Aug 2004
165 Beiträge
 
Delphi 10.3 Rio
 
#9

AW: Komponente mit TStrings Property erstellen

  Alt 18. Mär 2013, 21:49
Hallo Volker,
danke für Deine Antwort!

Ja, habe ich schon.

Allerdings stand ich auch gerade ganz schön auf der Leitung:

Im Konstruktor muss es natürlich heißen:
Code:
constructor TGSQuery.Create(aOwner: TComponent);
  begin
     inherited;
     ...
     combobox := TComboBox.Create(Self);
     ...
     FSQL := combobox.Items;
     // und NICHT:
     //FSQL := TStringList.Create;
  end;
Was will ich denn mit ZWEI Listen????????
Es ist halt doch schon spät...

Viele Grüße,

Poolspieler
Andreas
  Mit Zitat antworten Zitat