Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   GUI-Design mit VCL / FireMonkey / Common Controls (https://www.delphipraxis.net/18-gui-design-mit-vcl-firemonkey-common-controls/)
-   -   Delphi Synedit und MDI (https://www.delphipraxis.net/2560-synedit-und-mdi.html)

Alexander 29. Jan 2003 17:14


Synedit und MDI
 
Hallo
also ich habe eine MDI-Anwendung und eine Synedit-Komponente.
Nun will ich von einem anderen Fenster aus zur Zeile X springen. Da ich aber die Änderung immer im aktiven MDI-Chiild-Fenster haben möchte, muss ich dieses herausfinden. Dann setze ich den Curser mit CaretY auf die gewünschte Stelle.
Delphi-Quellcode:
 if ActiveMDIChild is TEditForm then
 TEditForm(ActiveMDIChild).editor.caretY := 7;
das läuft aber nicht, es kommt kein Fehler und der Curser verändert seine Position nicht habt ihr ne Idee?

Alexander 30. Jan 2003 19:54

Wisst ihr da wirklich nichts?


Alle Zeitangaben in WEZ +1. Es ist jetzt 02:44 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 by Thomas Breitkreuz