[plt-scheme] Graphical text field
You'll probably need to go to the editor-canvas% and text% pair (which
is what text-field is built out of). Those objects have all of the
knobs you would probably ever need for things like that. I think you
want, in particular, to `lock' the editor (except when your program is
changing it) and possibly hide the caret with hide-caret .
hth,
Robby
At Wed, 26 Oct 2005 15:06:30 +0200 (CEST), Ivanyi Peter wrote:
> Hi,
>
> I would like to use a text display like Help Desk. The
> program (Help Desk) can write text into its window, but it
> is not possible to paste any text into it or type any
> character. My problem is that if I disable the text-field%
> class then I cannot scroll it, since no key event reaches
> it, or if I overwrite the can-insert? method of a text%
> class then nor the user neither the program can write into
> it. What is the trick? How can I do it?
>
> Thanx,
>
> Peter Ivanyi
>
>
> _____________________________________________________________________________________________
> ____
> Hírkereső.hu - Mindig friss hírek, toplisták, sztárpletykák. A legfontosabb 80 hírforrás közel
> 3.000 cikke naponta! Ha egy lapon akarsz mindent áttekinteni KLIKK IDE:
> http://www.hirkereso.hu/a
>
> _________________________________________________
> For list-related administrative tasks:
> http://list.cs.brown.edu/mailman/listinfo/plt-scheme