Dieser Code funktioniert unter Windows, jedoch nicht unter Linux (GTK2)

Code: Alles auswählen
LCLIntf.CreateCaret(Handle, 0, 2, CaretHeight);
LCLIntf.SetCaretPosEx(Handle, PositionX, PositionY);
LCLIntf.ShowCaret(Handle);
Control bekommt auch den Focus und reagiert sonst wie gewohnt, nur ShowCaret versagt und es wird kein Caret dargestellt.
VG
Dirk