Non editable TextBox
« on: 07 January 2014, 23:13:16 »
Is there a way to make the TextBox class non editable? I just want to use it as a log panel.

*

texus

  • *****
  • 1163
    • View Profile
    • Texus's Blog
Re: Non editable TextBox
« Reply #1 on: 07 January 2014, 23:19:24 »
You could disable it, which will stop the events from reaching the text box.
textbox->disable();

However if you do this then the scrollbar won't work anymore.

So I would suggest using the ChatBox widget to create a log panel.

Re: Non editable TextBox
« Reply #2 on: 07 January 2014, 23:41:47 »
Thanks, lol I was just thinking of trying that.