[plt-scheme] setting background color/image for a text field
I'm not sure if transparency is possible, but you can use a solid
color or an image but overriding the on-paint method of the text%
object and drawing it there.
hth,
Robby
On 11/8/07, Leslie Gerhat <thoroughbred_phoenix at yahoo.com> wrote:
>
>
>
>
> We are working with a set of text% objects in Mr.Ed, specifically two large
> text boxes. Right now, we are displaying a string of text in these objects.
> We would like to be able to change the background on which this text is
> written. We know that the entire canvas color may be changed using (send
> an-editor-canvas% set-canvas-background color%-object). However, the text
> fields remain white using this method. We would like to change the
> background of the text fields to an image, or possibly make the text fields
> transparent except for the text, so whatever is in the canvas background
> shows through the text fields. Additionally, we would also like to end-user
> to be able to choose between 3 different images for this background, which
> adds an additional complexity to the problem.
>
>
>
>
> Does anyone know of a way to do this? Or has anyone created a similar
> application and is able to give us some direction? We would greatly
> appreciate this. Thank you.
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
> _________________________________________________
> For list-related administrative tasks:
> http://list.cs.brown.edu/mailman/listinfo/plt-scheme
>
>