Re: Screen not updating

2016-11-30 Thread Bob Sneidar
I have commented on the bug for all it's worth.

Bob S


On Nov 30, 2016, at 14:29 , Ralph DiMola 
> wrote:

If this is in the IDE then it goes back to 6.6.2 rc4.
http://quality.livecode.com/show_bug.cgi?id=12508
Drives me crazy.

Ralph DiMola
IT Director
Evergreen Information Services
rdim...@evergreeninfo.net

___
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

2016-11-30 Thread Ralph DiMola
If this is in the IDE then it goes back to 6.6.2 rc4.
http://quality.livecode.com/show_bug.cgi?id=12508
Drives me crazy. 

Ralph DiMola
IT Director
Evergreen Information Services
rdim...@evergreeninfo.net


-Original Message-
From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf
Of Bob Sneidar
Sent: Wednesday, November 30, 2016 4:06 PM
To: How to use LiveCode
Subject: Screen not updating

Hi all. Not sure if this is expected behavior. While running a script, my
monitor is not updating with anything that is happening. I am running a
script that incrementally selects a record in a data grid, which will then
update the form, then I run some other things that get data from the form
and update a database. Nothing fancy here. I do not lock the screen. I have
even issued a wait 0 milliseconds with messages command, and yet I cannot
see the datagrid selection changing. Can't find anything in the dictionary
about this. 

Bob S



___
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

2016-11-30 Thread Bob Sneidar
Perhaps, but that is not the issue. If you set the dgHilitedLine or 
dghilitedIndex, the datagrid will scroll if necessary to make the line visible. 
The form updates because I have a selectionChanged handler in the data grid 
which does everything necessary, and I dispatch that to the data grid when I 
changed the selected line. 

Further nothing is clickable in the UI when a script is running. Even issueing 
unlock screen for each repeat iteration did not refresh the screen. 

Bob S


> On Nov 30, 2016, at 13:27 , Stephen Barncard  wrote:
> 
> I am pretty sure when one makes a change to a datagrid from 'outside', it
> may need to be refreshed. There's a command.
> 
> On Wed, Nov 30, 2016 at 1:06 PM, Bob Sneidar 
> wrote:
> 
>> Hi all. Not sure if this is expected behavior. While running a script, my
>> monitor is not updating with anything that is happening. I am running a
>> script that incrementally selects a record in a data grid, which will then
>> update the form, then I
> 
> 
> 
> 
> --
> Stephen Barncard - Sebastopol Ca. USA -
> mixstream.org
> ___
> 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

2016-11-30 Thread dunbarx
Stephen makes a point.

dispatch "ResetList" to group "yourDataGrid"

Craig



--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/Screen-not-updating-tp4710763p4710766.html
Sent from the Revolution - User mailing list archive at Nabble.com.

___
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

2016-11-30 Thread Stephen Barncard
I am pretty sure when one makes a change to a datagrid from 'outside', it
may need to be refreshed. There's a command.

On Wed, Nov 30, 2016 at 1:06 PM, Bob Sneidar 
wrote:

> Hi all. Not sure if this is expected behavior. While running a script, my
> monitor is not updating with anything that is happening. I am running a
> script that incrementally selects a record in a data grid, which will then
> update the form, then I




--
Stephen Barncard - Sebastopol Ca. USA -
mixstream.org
___
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

2016-11-30 Thread dunbarx
Hi.

If you really have never locked the screen, (did you search for "lock" in
all scripts?) can you place a few bogus lines, like:

answer random(999)

here and there in key places and see if and where they pop up? I do this
sort of thing all the time to flag important changes or unwanted behaviors.
If you really use "answer", which is louder, instead of just "put", which
makes you keep and eye on the message box, watch out not to screw up the
local variable "it".

Or place breakpoint in sort of the same places, and see what does not happen
when it should.

Craig Newman



--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/Screen-not-updating-tp4710763p4710764.html
Sent from the Revolution - User mailing list archive at Nabble.com.

___
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-14 Thread Dr. Hawkins
On Tue, Sep 11, 2012 at 6:04 AM, Richard Gaskin
ambassa...@fourthworld.com 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:

 http://quality.runrev.com/show_bug.cgi?id=10333

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 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


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:


http://quality.runrev.com/show_bug.cgi?id=10333

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 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:
 
 http://quality.runrev.com/show_bug.cgi?id=10333
 
 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 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