On Thu, May 1, 2014 at 5:22 PM, Zee Ken <udaybhasker552...@gmail.com> wrote:
> When I click on the button *Click Me*, it has to show *mystrng* like when > I use draw-text procedure in a canvas instead it only shows, *Line1 > text...* and the rest doesn't appear. > It's because the size of the `message%` does not automatically adapt by default to the new text, so you see only the first line (even though all lines are here, but they are just hidden). To automatically resize it, just add: (send msg auto-resize #t) right after the definition of `msg`, and it should work fine. I'm not sure I understood the rest of your question. Laurent
____________________ Racket Users list: http://lists.racket-lang.org/users