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 Combo aufklappen (https://www.delphipraxis.net/23305-combo-aufklappen.html)

rbest 1. Jun 2004 10:37


Combo aufklappen
 
hallo :hi:
wie kann ich programmatisch ein Combo aufklappen (z.B. in keydown oder keypress)?
Danke für die Info.

mirage228 1. Jun 2004 10:40

Re: Combo aufklappen
 
Hi,

du könntest einen Mausklick auf den Pfeil der ComboBox simulieren.

Eventuell hat die ComboBox eine Prozedur PopUp oder Ähnliches, die ein automatisches aufklappen erlaubt.,

mfG
mirage228

neolithos 1. Jun 2004 10:43

Re: Combo aufklappen
 
Zitat:

Zitat von MSDN
An application sends a MSDN-Library durchsuchenCB_SHOWDROPDOWN message to show or hide the list box of a combo box that has the CBS_DROPDOWN or CBS_DROPDOWNLIST style.


Sidores 1. Jun 2004 10:52

Re: Combo aufklappen
 
Hi,

das geht auch mit:
Für auf
Code:
ComboBox1.DroppedDown:=TRUE;
und zu
Code:
ComboBox1.DroppedDown:=FALSE;

rbest 1. Jun 2004 11:44

Re: Combo aufklappen
 
Besten Dank, soviel Antworten hätte ich gar nicht erwartet. :cheers:


Alle Zeitangaben in WEZ +1. Es ist jetzt 21:40 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