[plt-scheme] setting background color/image for a text field

From: Leslie Gerhat (thoroughbred_phoenix at yahoo.com)
Date: Thu Nov 8 17:45:21 EST 2007

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 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20071108/a812bace/attachment.html>

Posted on the users mailing list.