Author Topic: wxComboBox text entry only disable  (Read 2437 times)

Offline 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?

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7582
    • My Best Post
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 »
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

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
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.
(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!]