Autor Beitrag
sahib
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 117

Win 2000 SP4+
Delphi 5 Prof.
BeitragVerfasst: Sa 06.08.05 00:31 
Hallo.

Ich habe eine ComboBox (Style := csDropDown) mit mehreren Items. Im Eingabefeld der Box kann der Cursor bewegt werden. Wie bekomme ich aber nun dessen Position heraus (nicht die Markierung, sondern wirklich die Position der Einfügemarke)?

Vielen Dank und ein schönes Wochenende,
Christian
matze
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 4613
Erhaltene Danke: 24

XP home, prof
Delphi 2009 Prof,
BeitragVerfasst: Sa 06.08.05 11:25 
über die iegenschaft SelStart:
ausblenden Delphi-Quelltext
1:
einfuegemarke := combobox1.SelStart;					

_________________
In the beginning was the word.
And the word was content-type: text/plain.
sahib Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 117

Win 2000 SP4+
Delphi 5 Prof.
BeitragVerfasst: Sa 06.08.05 12:36 
Stimmt, super. Vom Namen habe ich fälschlich darauf geschlossen, dass es sich automatisch um den Anfang einer Markierung handelt. Mit Nachdenken oder stupides testen hätte ich das wohl auch erkennen können...

Danke,
Christian
matze
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 4613
Erhaltene Danke: 24

XP home, prof
Delphi 2009 Prof,
BeitragVerfasst: Sa 06.08.05 12:48 
oder in die Delphi-Hilfe schauen !

_________________
In the beginning was the word.
And the word was content-type: text/plain.