On 12/03/2016 02:15 PM, Winston Weinert wrote:
I managed to resolve the alignment question with the following lines:
(define e (send my-text-field get-editor))
(send e auto-wrap #t)
(send e set-paragraph-alignment 0 'center)
However, I'm still at a loss how to make the text-field% read-only yet
selectable.
Use the lock method:
(send e lock #t)
You'll need to unlock it again if you want to make changes.
Ryan
--
You received this message because you are subscribed to the Google Groups "Racket
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.