Haha, I come again, I would like to ask a question, how to make the edit box(textCtrl, richtextCtrl...) with increasing content becomes larger, when it reaches a specified size then the scroll bar appears to the right.
Thank You For Answering.
help! how to make the edit box(textCtrl, richtextCtrl...) with increasing content becomes larger!!!
Re: help! how to make the edit box(textCtrl, richtextCtrl...) with increasing content becomes larger!!!
I see you're a friend of unusual user interfaces
Have you ever seen an application that does that?
In any case, there is no easy way to do this. You'd have to catch the wxEVT_TEXT event, calculate the size of the current text and then set the size of the text control accordingly.
Have you ever seen an application that does that?
In any case, there is no easy way to do this. You'd have to catch the wxEVT_TEXT event, calculate the size of the current text and then set the size of the text control accordingly.
Use the source, Luke!
Re: help! how to make the edit box(textCtrl, richtextCtrl...) with increasing content becomes larger!!!
Yes, I used this application, in fact, I was developing a mail client, the recipient edit box on the need for such a function.I may also ask you for more help later
Re: help! how to make the edit box(textCtrl, richtextCtrl...) with increasing content becomes larger!!!
Honestly, i don't think it's worth the effort. Make a textbox that is reasonably wide enough for most email addresses and that's it.
Use the source, Luke!
Re: help! how to make the edit box(textCtrl, richtextCtrl...) with increasing content becomes larger!!!
But my boss asked to do so, and if achieved, it is very convenient. I am here to ask a question, how to put the toolbar above the horizontal line to remove
Re: help! how to make the edit box(textCtrl, richtextCtrl...) with increasing content becomes larger!!!
Is that a new question? If yes, please create a new thread for it. And explain it a little bit more, because i have no idea what you meanI am here to ask a question, how to put the toolbar above the horizontal line to remove
Use the source, Luke!