Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cornell!uw-beaver!rice!sun-spots-request From: jaysun@omni.eng.clemson.edu (Jay) Newsgroups: comp.sys.sun Subject: How to clear CANVAS in sunview Keywords: Windows Message-ID: <5284@hubcap.clemson.edu> Date: 8 May 89 18:32:21 GMT Sender: usenet@rice.edu Organization: Clemson University Engineering Department Lines: 15 Approved: Sun-Spots@rice.edu Original-Date: 27 Apr 89 04:41:31 GMT X-Sun-Spots-Digest: Volume 7, Issue 276, message 9 of 18 I have already posted this to comp.graphics but have got no answers so please help me out. I am interested in an easy way to clear a canvas without having to write my own repaint proc. I have tried changing CANVAS_AUTO_CLEAR to TRUE but this does not SEEM to work. The manual says "... if the attribute CANVAS_AUTO_CLEAR is TRUE, the canvas package will clear the repaint area before calling your repaint procedure". Does this mean I have to have my own repaint proc for this to occur????? Any help on this will be much appriciated as I am a relative newcomer to sunview prog. Jay Williamson Engineering Computer Operations jaysun@eng.clemson.edu Clemson University Jay Williamson