Code::Blocks Forums
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
As usual while waiting for the next release - don't forget to check the
nightly builds
in the forum.
Home
Help
Search
Login
Register
Code::Blocks Forums
»
User forums
»
Using Code::Blocks
»
wxComboBox text entry only disable
« previous
next »
Send this topic
Print
Pages: [
1
]
Go Down
Author
Topic: wxComboBox text entry only disable (Read 2437 times)
spflanze
Almost regular
Posts: 134
wxComboBox text entry only disable
«
on:
January 23, 2020, 05:30:45 am »
Is there a way to disable text entry in wxComboBox control, while still allowing the user to select from its list?
Logged
stahta01
Lives here!
Posts: 7582
Re: wxComboBox text entry only disable
«
Reply #1 on:
January 23, 2020, 05:34:01 am »
style wxCB_READONLY might be worth reading about; but, I am not certain it is what you want.
«
Last Edit: January 23, 2020, 05:54:48 am by stahta01
»
Logged
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ.
http://wiki.codeblocks.org
oBFusCATed
Developer
Lives here!
Posts: 13413
Re: wxComboBox text entry only disable
«
Reply #2 on:
January 23, 2020, 08:33:21 am »
Switching to wxChoice control is better in my opinion.
Logged
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]
Send this topic
Print
Pages: [
1
]
Go Up
« previous
next »
Code::Blocks Forums
»
User forums
»
Using Code::Blocks
»
wxComboBox text entry only disable