Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!mdisea!gilbert From: gilbert@MDI.COM (John Gilbert) Newsgroups: comp.sys.mac.hypercard Subject: Re: XCMD Update screen HELP REQUIRED PLEASE Message-ID: <1991Feb5.224341.13543@MDI.COM> Date: 5 Feb 91 22:43:41 GMT References: <1991Feb3.111602.15893@cc.ic.ac.uk> <5999@rex.cs.tulane.edu> Sender: news@MDI.COM Organization: Motorola Mobile Data; Seattle, WA Lines: 46 In article <5999@rex.cs.tulane.edu> mandel@vax.anes.tulane.edu (Jeff E Mandel MD MS) writes: >In article <1991Feb3.111602.15893@cc.ic.ac.uk> barnett@cc.ic.ac.uk (G.J. >Barnett) writes: >> >> Does anyone know if hypercard 1.2.5 (and hypercard 2.0) >>ignores update screen events when it has handed control to an XCMD, and >>if so how can you round it ? >> > > I have noticed that HC 2.0 seems to deal with update events somewhat more >frequently than the idle loop; I have a stack that fills in forms, some fields I too have a question about this. I often use go next/prev buttons in my stack with the following style... on mouseDown repeat while the mouse is stillDown -- may not be exact... go next card -- or prev card, as the case may be... end repeat end mouseDown This allows me to lean on the mouse button until I reach the card I am scanning for. With 2.0, and in some cases in 1.2.5, but not earlier, a simple click on the mouse to go one card is usually lost. I fixed this by adding a 'go next card' before the repeat loop. But now in HC 2.0, it seems to suppress screen painting within a handler/script. If I lean on the mouse, I whizz through cards pretty quickly, but don't see it. I let go and I am way past where I want to be. All I have found to do is stop using the buttons this way, but I miss it. Is there some other way I can do this? Is there a way to force the painting of a card before an event handler is completed? I also have some functions whic scan all cards an do some maintenance. Some of them take a while and used to show me each card as it moved, but this is no longer the case. I am changing some of the scripts to put some kind of progress indicator in the message bos, but in some cases this is less desirable. Thanks for any help.... -- John Gilbert gilbert@MDI.COM ..!uunet!mdisea!gilbert