[Tutor] Undrawing text

Devansh devanshd@yahoo.com
Sat, 11 Nov 2000 10:31:51 -0600


This is a multi-part message in MIME format.

------=_NextPart_000_00D3_01C04BCA.9A5C6F80
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

hi everyone.....
i have a kinda small prob.=20
in my graphics window i want to update a count for every mouse click i =
make.......
what my code is doing is just drawing the new numbers on top the of the =
old ones so it becomes illegible after the 2nd cklick already......

heres a section of the code.
count=3Dcount+1
counter=3DText(Point(320,240),count).draw(win1)

if i use counter.undraw(win1) it gives me an attribute error.......
pls advise.....thanx

Devansh Dhutia
P.O.Box 105
222 Ninth St. N.W.
Waverly, Iowa 50677-0903
Tel: 319-352-7302
@ : dhutiad@wartburg.edu
       devanshd@yahoo.com
ICQ UIN- 5674041
http://www.desktopdollars.com/default.asp?id=3Ddevanshd


------=_NextPart_000_00D3_01C04BCA.9A5C6F80
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 5.50.4207.2601" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>hi everyone.....</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>i have a kinda small prob. =
</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>in my graphics window i want to update =
a count for=20
every mouse click i make.......</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>what my code is doing is just drawing =
the new=20
numbers on top the of the old ones so it becomes illegible after the 2nd =
cklick=20
already......</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>heres a section of the =
code.</FONT></DIV>
<DIV><FONT face=3DArial=20
size=3D2>count=3Dcount+1<BR>counter=3DText(Point(320,240),count).draw(win=
1)</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>if i use counter.undraw(win1) it gives =
me an=20
attribute error.......</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>pls advise.....thanx</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Devansh Dhutia<BR>P.O.Box 105<BR>222 =
Ninth St.=20
N.W.<BR>Waverly, Iowa 50677-0903<BR>Tel: 319-352-7302<BR>@ : <A=20
href=3D"mailto:dhutiad@wartburg.edu">dhutiad@wartburg.edu</A><BR>&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
<A href=3D"mailto:devanshd@yahoo.com">devanshd@yahoo.com</A><BR>ICQ UIN- =

5674041<BR><A=20
href=3D"http://www.desktopdollars.com/default.asp?id=3Ddevanshd">http://w=
ww.desktopdollars.com/default.asp?id=3Ddevanshd</A><BR></FONT></DIV></BOD=
Y></HTML>

------=_NextPart_000_00D3_01C04BCA.9A5C6F80--


__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com