RE: lingo-l mouse selection doesn't work in projector

2004-08-24 Thread Tim Welford
Without trying to sound patronising, it sounds like the field has had editable set to false, can you see the text cursor in the field when you click on it? Can you select the text by any other method, e.g. by using shift with the cursors? -Original Message- From: Michael von Aichberger

lingo-l Collating multiple returns from sendAllSprites

2004-08-24 Thread Ross Clutterbuck
Hi list A minor conundrum is at hand. I'm building a simple form and one question consists of a number of checkboxes, each one with its own unique numeric value. They are checkboxes because the user can select any number of them. When the form is submitted I want to total up the values returned

Re: lingo-l Collating multiple returns from sendAllSprites

2004-08-24 Thread Colin Holgate
I use a simpler, sloppier technique: global someglobal someglobal = 0 sendallsprites #GetCheckboxValues, myCheckboxGroupID and in the sprites: on GetCheckboxValues me, groupID global someglobal if groupID = pThisGroupID and someglobal then someglobal = someglobal + pMyValue end [To

lingo-l Exitlock=true, titlebar=true - closebutton doesn't work?

2004-08-24 Thread grimmwerks
Hey all -- trying to do the old school 'see quitscreen before exiting' thing in 2004. I've got exitlock to true, and am only showing the closebutton on the titlebar; I've got a main movie handler of 'on closewindow' but it doesn't seem to be getting called; when exitlock is true the closebutton

Re: lingo-l Collating multiple returns from sendAllSprites

2004-08-24 Thread Rob Romanek
Try the old pass a list reference trick -- calling routine resultList = [ 0 ] sendAllSprites(#GetCheckboxValues, myCheckboxGroupID, resultList) put resultList[1] -- inside the checkbox behaviour property pThisGroupID -- unique ID for this checkbox group property pSelected -- boolean for checked

Re: lingo-l Collating multiple returns from sendAllSprites

2004-08-24 Thread Cole Tierney
The problem is though is that the return value for, say, checkbox #2 will overwrite the value of checkbox #1 before i can collate all results to total them up, and given my post-injury fatigue my brain has gone dead on how to get around it lol. You could try passing a list around: -- calling

Re: lingo-l Collating multiple returns from sendAllSprites

2004-08-24 Thread Irv Kalb
You can use a list (untested, but the idea is right): someList = [] sendallsprites(#GetCheckboxValues, myCheckboxGroupID, someList) nItems = count(someList) and in the sprites: on GetCheckboxValues me, groupID, aList if groupID = pThisGroupID and someglobal then append(aList,

Re: lingo-l Collating multiple returns from sendAllSprites

2004-08-24 Thread Ross Clutterbuck
Cheers Rob and Cole Just after sending the e-mail the thought of using a list did pop into my head, although I wasn't sure in what capacity. Thanks a bunch - you saved me a job lol Cheers! Ross [To remove yourself from this list, or to change to digest mode, go to

Re: lingo-l Collating multiple returns from sendAllSprites

2004-08-24 Thread Cole Tierney
I use a simpler, sloppier technique: global someglobal someGlobal?! Time for bath, you! ;) But if you're collaborating with another programmer who happens to be fond of the name someGlobal you could play it safe by preserving and restoring it's contents before and after using it. -- Cole [To

Re: lingo-l Collating multiple returns from sendAllSprites

2004-08-24 Thread Colin Holgate
At 1:08 PM -0400 8/24/04, Cole Tierney wrote: I use a simpler, sloppier technique: global someglobal someGlobal?! Time for bath, you! ;) But if you're collaborating with another programmer who happens to be fond of the name someGlobal you could play it safe by preserving and restoring it's

lingo-l Time arithmetic

2004-08-24 Thread Kerry Thompson
Is there a built-in way to do time arithmetic like you do date arithmetic? I can get the number of days between two dates with something like date(, mm, dd) - date (, mm, dd) (thanks to those who provided that info last week). Now I'm looking for a way to get the number of minutes,

RE: lingo-l Time arithmetic

2004-08-24 Thread Chuck Neal
Why not subtract the second and the day, then add the seconds to the days * 86400? -Chuck -- Chuck Neal CEO, MediaMacros, Inc. [EMAIL PROTECTED] http://www.mediamacros.com -- Check out the Developers Mall Your one stop shop for all your Director

Re: lingo-l Time arithmetic

2004-08-24 Thread Buzz Kettles
MOD is your friend At 2:05 PM -0400 8/24/04, you wrote: Is there a built-in way to do time arithmetic like you do date arithmetic? I can get the number of days between two dates with something like date(, mm, dd) - date (, mm, dd) (thanks to those who provided that info last week).

Re: lingo-l Exitlock=true, titlebar=true - closebutton doesn't work?

2004-08-24 Thread Sean Wilson
At 04:35 a.m. 25/08/2004, you wrote: Hey all -- trying to do the old school 'see quitscreen before exiting' thing in 2004. I've got exitlock to true, and am only showing the closebutton on the titlebar; I've got a main movie handler of 'on closewindow' but it doesn't seem to be getting called;

Re: lingo-l Time arithmetic

2004-08-24 Thread Sean Wilson
MOD is your friend And so is dateObject.seconds and framesToHMS() At 2:05 PM -0400 8/24/04, you wrote: Is there a built-in way to do time arithmetic like you do date arithmetic? I can get the number of days between two dates with something like date(, mm, dd) - date (, mm, dd)