Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Sonstige Fragen zu Delphi (https://www.delphipraxis.net/19-sonstige-fragen-zu-delphi/)
-   -   Delphi keine Eingabe bei ComboBox (https://www.delphipraxis.net/65694-keine-eingabe-bei-combobox.html)

ksh 20. Mär 2006 09:21


keine Eingabe bei ComboBox
 
Morgen!

Habe mal eine (einfache) Frage zur ComboBox - da kann man im Gegensatz zur ListBox ja Eingaben beim Ausführen machen. Ich will aber, dass die Box nicht verändert wird!
Geht das mit Hilfe von einem Befehl? oder muss ich da die ListBox nehmen?

LG

Matze 20. Mär 2006 09:24

Re: keine Eingabe bei ComboBox
 
Moin,

stelle die Eigenschaft Delphi-Referenz durchsuchenStyle einfach auf csDropDownList. ;)

Sharky 20. Mär 2006 09:24

Re: keine Eingabe bei ComboBox
 
Hai ksh,

setze einfach .Style := csDropDownList

turboPASCAL 20. Mär 2006 09:25

Re: keine Eingabe bei ComboBox
 
Delphi-Quellcode:
ComboboxX.Style := csDropDownList;
So etwas ?

//Edit: Huch, da steht ja schon was ...

ksh 20. Mär 2006 09:29

Re: keine Eingabe bei ComboBox
 
ok, ich glaub euch mal! :wink:

Danke!


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