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 Combobox: OnDropDown wird nicht ausgelöst (https://www.delphipraxis.net/140820-combobox-ondropdown-wird-nicht-ausgeloest.html)

Keldorn 26. Sep 2009 18:40


Combobox: OnDropDown wird nicht ausgelöst
 
Hallo,

wenn ich eine Combobox in ein Grid bringe, wie z.B. hier gezeigt, wird kein ondropdown ausgelöst.

es reicht schon, den Parent auf ein Grid zu setzen ...
Delphi-Quellcode:
Combobox1.Parent := Stringgrid1;
... und schon wird kein ondropdown ausgelöst. Andere Ereignisse, wie z.B. onchange gehen ja auch, warum geht kein ondropdown?

Gruß Frank

Keldorn 10. Jan 2010 11:12

Re: Combobox: OnDropDown wird nicht ausgelöst
 
Hallo,

wie schon hier beschrieben, behlfe ich mir momentan damit, daß ich die Combobox in ein Panel lege. Dann erhalte ich auch das Ereignis ausgelöst. Warum geht das nicht, wenn das Grid das Parent ist?

Gruß Frank


Alle Zeitangaben in WEZ +1. Es ist jetzt 09:44 Uhr.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz