Autor Beitrag
Boldar
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 1555
Erhaltene Danke: 70

Win7 Enterprise 64bit, Win XP SP2
Turbo Delphi
BeitragVerfasst: Sa 12.12.09 12:43 
Hallo,
in welchem Ereignis reagiere ich in einer Listbox auf die Änderung des Selectierten Items?
Weil onclick kanns ja nicht sein, weil man kan die Selection ja auch mit der Tastatur ändern?
Aber sowas wie Onselect gibs da ja leider nicht.
Muss ich etwa Ondata nehmen?
mfg Boldar
Gausi
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 8548
Erhaltene Danke: 477

Windows 7, Windows 10
D7 PE, Delphi XE3 Prof, Delphi 10.3 CE
BeitragVerfasst: Sa 12.12.09 13:40 
OnClick wird auch ausgelöst, wenn man mit den Cursortasten in der Listbox navigiert. OnClick eines Buttons wird ja auch bei Druck auf die Enter-Taste ausgelöst, wenn der Button den Fokus hat. ;-)

_________________
We are, we were and will not be.
Boldar Threadstarter
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 1555
Erhaltene Danke: 70

Win7 Enterprise 64bit, Win XP SP2
Turbo Delphi
BeitragVerfasst: Sa 12.12.09 13:47 
ahh, ok. Danke
Ich glaube, ich programmiere einfach zu wenig mit Vcl-Kompos, bzw. ich ziehe die halt irgendwie dahin, weil mir meist der algorithmus dahinter wichtiger ist...