<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1">
<title></title>
</head>
<body>
Robby Findler wrote:<br>
<blockquote type="cite"
cite="mid200306270100.h5R1030j021716@pimout5-ext.prodigy.net">
<pre wrap=""> For list-related administrative tasks:
<a class="moz-txt-link-freetext" href="http://list.cs.brown.edu/mailman/listinfo/plt-scheme">http://list.cs.brown.edu/mailman/listinfo/plt-scheme</a>
At Thu, 26 Jun 2003 19:56:08 -0500, Robby Findler wrote:
</pre>
<blockquote type="cite">
<pre wrap=""> (define p ... some number ...)
(define style-delta (make-object style-delta% 'change-weight 'bold))
(send editor insert snip p p)
(send editor change-style style-delta)
</pre>
</blockquote>
<pre wrap=""><!---->
Oops, that last line should have been:
(send editor change-style style-delta p (+ p 1))
Robby
</pre>
</blockquote>
I managed to use <tt>change-style</tt> with a <tt>style-delta%</tt>
being the object that is saved and changed andn not a <tt>style%</tt>.<br>
Now I am faced with the problem of setting the background color of a <tt>text%</tt>
control. The text has a black background like I want and did using the
styles, but I want the entire box to have black background (otherwise
it's damn ugly). How would I do that?<br>
<br>
Katsmall T. Wise, Esquire<br>
</body>
</html>