Update Events?
Hi all, Is there any way to reliably trap for update events in a stack? I've tried trapping everything I could think of (moveStack, resizeStack, suspendStack, resumeStack, etc) but it seems pretty clutzy. Do I need a nasty hack in an external, or is there a supported way to do this (external or scripting)? I'm working off a mac library that refuses to draw into a GWorld, so I can't draw into that and then set the imagePixMapID of an image to that GWorld as in the external example. Incidentally, is there any more specific info to be had on the pixMapID properties and what exactly I can pass to them? Regards, Brian Archives: http://www.mail-archive.com/metacard@lists.runrev.com/ Info: http://www.xworlds.com/metacard/mailinglist.htm Please send bug reports to [EMAIL PROTECTED], not this list.
Things that change the visible rect (part 2)...
List of things that change the visible rect of an object: 1) Group rect visible rect if margin 0 and showborder is off. 2) Changing the focusborder changes the rect (in 2.4) 3) Using btn style shadow - rect includes shadow and not just the rect of the button Things that don't change the visible rect of an object: 1) the borderwidth - rect is always the outside rect which stays (visibly) constant as you change the borderwidth property. Archives: http://www.mail-archive.com/metacard@lists.runrev.com/ Info: http://www.xworlds.com/metacard/mailinglist.htm Please send bug reports to [EMAIL PROTECTED], not this list.
RE: exploring LibURL - among vs contains and arrays
Title: RE: exploring LibURL - among vs contains and arrays Rodney, Thanks for reminding me about is among; I had forgotten that, and had been using a variation of contains in my scripts.This: if Hello is among the items of myGreetings is a lot better than: if (, myGreetings ,) contains ,Hello, or if ,Hello, is in (, myGreetings ,) It's also better for legibility as well. Ken Ray Sons of Thunder Software Email: [EMAIL PROTECTED] Web Site: http://www.sonsothunder.com/ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Rodney Tamblyn Sent: Monday, August 27, 2001 11:51 PM To: [EMAIL PROTECTED] Subject: exploring LibURL - among vs contains and arrays Thanks Phil, Mark and Scott for the responses to my sockets enquiry Further to Scott's suggestion I've been looking through the LibURL stack. Consider amongs vs contains: newUrl is among the lines of the keys of tQue a is among the words of a b c d -- true vs: newUrl is in the keys of tQue the keys of tQue contains newUrl Among operator matches a specific chunk (eg a word or a line), so is more precise. Otherwise these commands seem analogous with each other. Is among faster? This isn't an operator I use very much but I think perhaps it is superior to using in or contains. Comments? Arrays Further to my earlier post on arrays within arrays: While is is not possible to do this: put seat into parts[a] put parts into car[elements] it is possible to do this: put seat into car[elements[a]] put wheel into car[elements[b]] put car[elements[a]] #--seat Limitations: - You can't retrieve a whole sub-array put car[elements] into theElements #empty - The keys won't show elements whose value is a sub-array put the keys of car #no pun intended! -- empty So one can build multi-dimensional arrays, but cannot put a whole array into an element of another array. Rodney -- -- Rodney Tamblyn Educational Media group Higher Education Development Centre, 75 Union Place University of Otago, PO Box 56, Dunedin, New Zealand ph +64 3 479 7580 Fax +64 3 479 8362 http://hedc.otago.ac.nz ~ http://rodney.weblogs.com
Obtaining a speechBusy() function
Hello all, For some of the applications I would like to develop with MC/Revolution, I am planning on using text-to-speech, and in some cases, it is necessary to know when the computer has finished speaking the text so that you can perform some other action before continuing. The MC externals collection (on the older xworlds.com site, and now free) includes an excellent cross-platform text-to-speech solution which is easy to use and lets you set all the relevant parameters used for speaking. However, a speechBusy() type function is not included. Although there are other speech externals for Mac which have this feature, I don't know of any alternative for Windows. So, I would like to find other MC/Revolution users who currently need or anticipate the need for this feature and would like to equally split the costs of having the externals author add it. If you need this feature and would like to go in on it together, please contact me off-list. If you know of any other relevant information, I'd like that too! Thanks, Curry Kenworthy [EMAIL PROTECTED] Archives: http://www.mail-archive.com/metacard@lists.runrev.com/ Info: http://www.xworlds.com/metacard/mailinglist.htm Please send bug reports to [EMAIL PROTECTED], not this list.