Registriert seit: 17. Jul 2005
900 Beiträge
Delphi 11 Alexandria
|
AW: Fehler Inkompatible Typen : Char und TCaption.
26. Nov 2023, 10:20
Der Delimiter ist ein einzelnes Zeichen (Char), der Text des Edits sind in der Regel mehrere (String oder TCaption). So sollte es gehen:
Delphi-Quellcode:
if Form1.Edit1.Text <> '' then
sCols.Delimiter := Form1.Edit1.Text[1];
Being smart will count for nothing if you don't make the world better. You have to use your smarts to count for something, to serve life, not death.
|