Autor Beitrag
TimonWorld
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 397



BeitragVerfasst: Sa 19.02.05 20:59 
Hallo!!!

Wie kann ich in SynEdit (D3) zu einer bestimmten Zeile springen?

Also erst kommt ein Dialog und danach soll er zu einer angegebenen Zeile springen:

ausblenden Delphi-Quelltext
1:
2:
  zeile := StrToInt(eingabe)
  synEdit. (jetzt ein befehl um zur zeile zu springen!)


Moderiert von user profile iconAXMD: Code- durch Delphi-Tags ersetzt.
StefanH
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 1144

Win XP
D5 Standard, D7 Pers, D2005 Pers
BeitragVerfasst: Sa 19.02.05 21:12 
ausblenden Delphi-Quelltext
1:
SynEdit1.CaretX:= zeile					


oder CaretY... ka :D

_________________
"Als es noch keine Computer gab, war das Programmieren noch relativ einfach."(Edsger W. Dijkstra)
"Ich bin nicht von Sinnen, sondern ich rede wahre und vernünftige Worte." (Paulus)
TimonWorld Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 397



BeitragVerfasst: Sa 19.02.05 21:33 
Aber da passiert nix!!!

Der Scrollbalken verändert sich nicht und der Cursor bleibt auch auf der gleichen Stelle! :(
StefanH
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 1144

Win XP
D5 Standard, D7 Pers, D2005 Pers
BeitragVerfasst: Mo 21.02.05 11:39 
es ist CaretY. Bei mir gehts :roll:

_________________
"Als es noch keine Computer gab, war das Programmieren noch relativ einfach."(Edsger W. Dijkstra)
"Ich bin nicht von Sinnen, sondern ich rede wahre und vernünftige Worte." (Paulus)
TimonWorld Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 397



BeitragVerfasst: Mo 21.02.05 20:48 
Stimmt! Sorry! :lol: