Re: Screen not updating with unlock screen

2012-09-14 Thread Dr. Hawkins
On Tue, Sep 11, 2012 at 6:04 AM, Richard Gaskin
 wrote:
> members of the Dev Program can read Mark Waddingham's thoughtful comments on
> this here, noting that going forward the update behavior will be made more
> consistent across platforms:
>
> 

Hmm, I have the developer package, but I can't log in, and it denies
that my email address is in its database.

Was there somewhere else I needed to sign up for this?

-- 
The Hawkins Law Firm
Richard E. Hawkins, Esq.
(702) 508-8462
hawkinslawf...@gmail.com
3025 S. Maryland Parkway
Suite A
Las Vegas, NV  89109

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Screen not updating with unlock screen

2012-09-11 Thread Peter M. Brigham
On Sep 11, 2012, at 9:04 AM, Peter M. Brigham wrote:

> The other consideration is that the loop is likely going so fast that even 
> with the "wait 0" line the screen update may be too slow to keep up and the 
> only thing you'll get will be the final number.

Belay that. I just tested it, and "wait 0" works as intended, with or without 
"with messages"

-- Peter

Peter M. Brigham
pmb...@gmail.com
http://home.comcast.net/~pmbrig


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Screen not updating with unlock screen

2012-09-11 Thread Peter M. Brigham
The other consideration is that the loop is likely going so fast that even with 
the "wait 0" line the screen update may be too slow to keep up and the only 
thing you'll get will be the final number.

-- Peter

Peter M. Brigham
pmb...@gmail.com
http://home.comcast.net/~pmbrig

On Sep 11, 2012, at 9:04 AM, Richard Gaskin wrote:

> Gabriel Johnson wrote:
>> I am having an issue getting output to display during a loop. I've
>> tried lock/unlock screen but unlock screen does not seem to cause the
>> screen to update. The only thing that works is "wait 0 seconds" but
>> this causes bizarre behavior in some cases (mouseDown/mouseUp not
>> behaving correctly [even when I use wait "with messages"]).
> 
> It works well without the "with messages" clause, so just adding "wait 0" 
> should do what you need.
> 
> That said, it appears that very soon that particular bit of arcane knowledge 
> will no longer be needed to have text displayed reliably - members of the Dev 
> Program can read Mark Waddingham's thoughtful comments on this here, noting 
> that going forward the update behavior will be made more consistent across 
> platforms:
> 
> 
> 
> Until that version is released, simply adding "wait 0" will do what you need.
> 
> --
> Richard Gaskin
> Fourth World
> LiveCode training and consulting: http://www.fourthworld.com
> Webzine for LiveCode developers: http://www.LiveCodeJournal.com
> Follow me on Twitter:  http://twitter.com/FourthWorldSys
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Screen not updating with unlock screen

2012-09-11 Thread Richard Gaskin

Gabriel Johnson wrote:

I am having an issue getting output to display during a loop. I've
tried lock/unlock screen but unlock screen does not seem to cause the
screen to update. The only thing that works is "wait 0 seconds" but
this causes bizarre behavior in some cases (mouseDown/mouseUp not
behaving correctly [even when I use wait "with messages"]).


It works well without the "with messages" clause, so just adding "wait 
0" should do what you need.


That said, it appears that very soon that particular bit of arcane 
knowledge will no longer be needed to have text displayed reliably - 
members of the Dev Program can read Mark Waddingham's thoughtful 
comments on this here, noting that going forward the update behavior 
will be made more consistent across platforms:




Until that version is released, simply adding "wait 0" will do what you 
need.


--
 Richard Gaskin
 Fourth World
 LiveCode training and consulting: http://www.fourthworld.com
 Webzine for LiveCode developers: http://www.LiveCodeJournal.com
 Follow me on Twitter:  http://twitter.com/FourthWorldSys

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Screen not updating with unlock screen

2012-09-11 Thread Alex Tweedly

The short answer is that the right way to 'fix' this is to use
  wait 0 secs with messages
(or  wait 0 millisecs with messages - same thing :-)

Now you said that doing that produced some strange behaviour - can you 
describe it in more detail, and we'll see if we can figure that out (and 
/ or fix it).


Thanks
-- Alex.
btw - you can't attach anything to mails to this list - best way is to 
include a URL like you did here.


On 10/09/2012 19:49, Gabriel Johnson wrote:

Hey All-

Sorry if this is a duplicate, my first version of this email from a
few days ago has not been approved yet (I'm assuming I can't attach
videos).

I am having an issue getting output to display during a loop. I've
tried lock/unlock screen but unlock screen does not seem to cause the
screen to update. The only thing that works is "wait 0 seconds" but
this causes bizarre behavior in some cases (mouseDown/mouseUp not
behaving correctly [even when I use wait "with messages"]).

I'm starting to wonder if this is a bug in LiveCode? Here is a video:
http://www.jrirecordings.com/public/putXShowsOnScreenCapture.mp4 which
shows some possibly odd behavior. The example in the video is simple:

repeat with x = 1 to 1000
put x
end repeat

When I run this in the message box, what I see on the screen is a
blank result for a couple of seconds, then 1000 appears. When I do a
screen capture of that loop running, I still don't see anything on the
monitor until it is done, but on the screen capture, it shows the
number incrementing over the course of those couple of seconds until
it hits 1000. (Note: I've run this with the "put x" wrapped in
lock/unlock screen and that doesn't show anything on the screen
either).

Is there some way aside from "wait 0 seconds" to force the screen to
show output?

Thanks

Gabe

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode



___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Screen not updating with unlock screen

2012-09-10 Thread Gabriel Johnson
Hey All-

Sorry if this is a duplicate, my first version of this email from a
few days ago has not been approved yet (I'm assuming I can't attach
videos).

I am having an issue getting output to display during a loop. I've
tried lock/unlock screen but unlock screen does not seem to cause the
screen to update. The only thing that works is "wait 0 seconds" but
this causes bizarre behavior in some cases (mouseDown/mouseUp not
behaving correctly [even when I use wait "with messages"]).

I'm starting to wonder if this is a bug in LiveCode? Here is a video:
http://www.jrirecordings.com/public/putXShowsOnScreenCapture.mp4 which
shows some possibly odd behavior. The example in the video is simple:

repeat with x = 1 to 1000
   put x
end repeat

When I run this in the message box, what I see on the screen is a
blank result for a couple of seconds, then 1000 appears. When I do a
screen capture of that loop running, I still don't see anything on the
monitor until it is done, but on the screen capture, it shows the
number incrementing over the course of those couple of seconds until
it hits 1000. (Note: I've run this with the "put x" wrapped in
lock/unlock screen and that doesn't show anything on the screen
either).

Is there some way aside from "wait 0 seconds" to force the screen to
show output?

Thanks

Gabe

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode