![]() |
Untyped Pointer?
Hallo, mit folgenden Code versuche ich Werte aus SpinEdit-Komponenten
via Buttonklick an die Cursorposition in einem Memo zu setzen:
Delphi-Quellcode:
Leider bekomme ich folgende Fehlermeldung:
NumRow := StrToInt(SpinEdit1.Text);
NumCol := StrToInt(SpinEdit2.Text); Bordersize := StrToInt(SpinEdit3.text); Cellpadding := StrToInt(SpinEdit4.text); Cellspacing := StrToInt(SpinEdit5.Text); SynMemo1.SelLength := 0; SynMemo1.SelText := '<table border=' +IntToStr(BorderSize)+ SynMemo1.SelText := ' cellpadding=' +IntToStr(Cellpadding)+ SynMemo1.SelText := ' cellspacing=' +IntToStr(Cellspacing)+ '>'; // Fehler hier, sagt die IDE [Fehler] Unit1.pas(1042): E2010 Inkompatible Typen: 'string' und 'procedure, untyped pointer or untyped parameter' Was kann das ein? ich habe schonversucht da wo der Fehler sein soll was zu ändern, klappt aber nicht. Fehler gefunden :wall:
Delphi-Quellcode:
SynMemo1.SelLength := 0;
SynMemo1.SelText := '<table border=' +IntToStr(BorderSize)+ ' cellpadding=' +IntToStr(Cellpadding)+ ' cellspacing=' +IntToStr(Cellspacing)+ '>'; |
Alle Zeitangaben in WEZ +1. Es ist jetzt 16:11 Uhr. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz