home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!psinntp!newsserver.tasc.com!newsserver.tasc.com!news
- From: dstrout@sun.rest.tasc.com. (Dave Strout)
- Newsgroups: comp.sys.mac.programmer
- Subject: Newbie TCL question on mouse clicks
- Date: 11 Jan 1993 17:25:14 GMT
- Organization: TASC
- Lines: 23
- Distribution: usa
- Message-ID: <1isahqINN6ie@jumbo.read.tasc.com>
- Reply-To: dstrout@sun.rest.tasc.com
- NNTP-Posting-Host: pluto.aitc.rest.tasc.com
-
-
- Beginner question on mouse clicks. I made a copy of the TCL starter app,
- and put these lines in the Draw method in CStarterPane()
-
- TextFont(1);
- MoveTo(50,50);
- DrawString("\pHello World");
-
- That works fine. Every new doc has "Hello world" in it. But when I move
- those same lines to the DoClick method, (Idea being draw it only after I
- click in the window) nothing happens. In fact, if I put SysBeep(1) in the
- DoClick(), It doesn't beep. What else do I need to do?
-
- Thanks,
-
- dave.
-
- --
- Dave Strout dstrout@sun.rest.tasc.com
- Thompson's Rule for First Time Telescope Makers:
- It's easier to make a 4 inch mirror then a 6 inch mirror
- than it is to make a 6 inch mirror.
- /* Opinions expressed are not the official position of TASC. */
-