Re: How to stop screen flicker

2006-04-14 Thread David Burgun

Hi,
Hi,

The problem is that the stack that is called can save itself, in that  
case, if it's been opened via a go invisible command then it save's  
it's state as invisible and so doesn't display when it's warm-started.


I'm not actually showing  the stack as such, I'm just restoring  
it's previous state, which has the same effect if the stack was  
visible to start with.


I think that the only way around it is to have a show me in the  
Warm Start handler inside each stack, unless you have any other ideas?


Thanks a lot
All the Best
Dave

On 8 Apr 2006, at 13:26, Mark Schonewille wrote:

Why then is there a need to show the stack? You can go invisible to  
the stack, change all properties, and close the stack, without  
showing and flashing the window. If there really is a need to issue  
a show command, set the window off-screen first. Please, let us  
know whether this solves your problem.


Mark

David Burgun wrote:
The loop is part of a cold-start up process, I want to run all  
the  stacks qualifying stacks in a folder in ColdStart mode,  
this allows  each stack to reset it's properties etc. to the  
Factory default.  It's a little more complex than this, but that  
basically it.
Once the Cold-Start has completed, I then re-open the Main   
Application stack (the one that reported it's Main status  
during  Cold-Start procedure). It then starts running in Warm- 
Start mode,  and from that point onwards it will start up in warm  
start mode. The  ColdStart Stack checks for a file in it's folder  
when it's run, if  it's there it cold-starts and removes the file,  
if it's not it warm  starts.

All the Best
Dave


--

Consultant and Software Engineer
mailto:[EMAIL PROTECTED]
http://www.economy-x-talk.com

eHUG coordinator
mailto:[EMAIL PROTECTED]
http://www.ehug.info

Advertise with us and reach 1000 truely interested internet users  
every month. See http://economy-x-talk.com/advertise.html for more  
information.


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

http://lists.runrev.com/mailman/listinfo/use-revolution


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


Re: How to stop screen flicker

2006-04-08 Thread Mark Schonewille
Why then is there a need to show the stack? You can go invisible 
to the stack, change all properties, and close the stack, 
without showing and flashing the window. If there really is a 
need to issue a show command, set the window off-screen first. 
Please, let us know whether this solves your problem.


Mark

David Burgun wrote:
The loop is part of a cold-start up process, I want to run all the  
stacks qualifying stacks in a folder in ColdStart mode, this allows  
each stack to reset it's properties etc. to the Factory default.  It's 
a little more complex than this, but that basically it.


Once the Cold-Start has completed, I then re-open the Main  
Application stack (the one that reported it's Main status during  
Cold-Start procedure). It then starts running in Warm-Start mode,  and 
from that point onwards it will start up in warm start mode. The  
ColdStart Stack checks for a file in it's folder when it's run, if  it's 
there it cold-starts and removes the file, if it's not it warm  starts.


All the Best
Dave



--

Consultant and Software Engineer
mailto:[EMAIL PROTECTED]
http://www.economy-x-talk.com

eHUG coordinator
mailto:[EMAIL PROTECTED]
http://www.ehug.info

Advertise with us and reach 1000 truely interested internet 
users every month. See http://economy-x-talk.com/advertise.html 
for more information.


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


Re: How to stop screen flicker

2006-04-07 Thread Mark Schonewille

Hi Dave,

It is not clear to me what you are trying to accomplish. Why do 
you set the visible of the stack to true or false if you're 
going to close it anyway?


If the problem is that the stack flashes *before* its visible 
property is set, it is possibe that removing as toplevel from 
your script solves the problem. Why did you include that?


Completely contrary to HyperCard, Revolution's lock screen 
command prevents windows from being redrawn but does not prevent 
them from appearing on screen. You might want to set the loc of 
the stack off-screen before changing the visible property, then 
hide the stack and set the loc to the original value.


Best,

Mark

David Burgun wrote:

Hi,

When I run the script portion below, I get the stack windows flashing  
for a split second. I thought that the lock screen command would cure  
it, but it doesn't seem to work.


  lock screen
  repeat for each line myCurrentFileName in myFilesList
if item -1 of myCurrentFileName  rev then next repeat
put myStackFilePath  myCurrentFileName into myCurrentFilePathName
if myCurrentFilePathName = myStackFilePathName then next repeat

if myCurrentFilePathName  the filename of  myCallingStackLongName then
  if there is a stack myCurrentFilePathName then
if the script of stack myCurrentFilePathName contains  
myHandlerString then
  set the cpDebugEnableFlag of stack myCurrentFilePathName  to 
theDebugEnableFlag
  put the visible of stack myCurrentFilePathName  into  
myStackVisibleFlag

  go invisible to stack myCurrentFilePathName as topLevel
  set the visible of stack myCurrentFilePathName  to  
myStackVisibleFlag

  save stack myCurrentFilePathName
  close stack myCurrentFilePathName
end if
  end if
end if
  end repeat
  unlock screen

Any ideas??

Thanks a lot
Dave



--

Consultant and Software Engineer
mailto:[EMAIL PROTECTED]
http://www.economy-x-talk.com

eHUG coordinator
mailto:[EMAIL PROTECTED]
http://www.ehug.info

Advertise with us and reach 1000 truely interested internet 
users every month. See http://economy-x-talk.com/advertise.html 
for more information.


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


Re: How to stop screen flicker

2006-04-07 Thread Peter T. Evensen
Are you doing this in the IDE or in a standalone.  If my memory serves, 
lock screen doesn't work in the IDE if script debug mode is on.


At 06:48 PM 4/6/2006, you wrote:

Hi,

When I run the script portion below, I get the stack windows flashing
for a split second. I thought that the lock screen command would cure
it, but it doesn't seem to work.

  lock screen
  repeat for each line myCurrentFileName in myFilesList
if item -1 of myCurrentFileName  rev then next repeat
put myStackFilePath  myCurrentFileName into myCurrentFilePathName
if myCurrentFilePathName = myStackFilePathName then next repeat

if myCurrentFilePathName  the filename of
myCallingStackLongName then
  if there is a stack myCurrentFilePathName then
if the script of stack myCurrentFilePathName contains
myHandlerString then
  set the cpDebugEnableFlag of stack myCurrentFilePathName
to theDebugEnableFlag
  put the visible of stack myCurrentFilePathName  into
myStackVisibleFlag
  go invisible to stack myCurrentFilePathName as topLevel
  set the visible of stack myCurrentFilePathName  to
myStackVisibleFlag
  save stack myCurrentFilePathName
  close stack myCurrentFilePathName
end if
  end if
end if
  end repeat
  unlock screen

Any ideas??

Thanks a lot
Dave

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

http://lists.runrev.com/mailman/listinfo/use-revolution


Peter T. Evensen
http://www.PetersRoadToHealth.com
314-629-5248 or 888-628-4588 


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


Re: How to stop screen flicker

2006-04-07 Thread David Burgun
The loop is part of a cold-start up process, I want to run all the  
stacks qualifying stacks in a folder in ColdStart mode, this allows  
each stack to reset it's properties etc. to the Factory default.  
It's a little more complex than this, but that basically it.


Once the Cold-Start has completed, I then re-open the Main  
Application stack (the one that reported it's Main status during  
Cold-Start procedure). It then starts running in Warm-Start mode,  
and from that point onwards it will start up in warm start mode. The  
ColdStart Stack checks for a file in it's folder when it's run, if  
it's there it cold-starts and removes the file, if it's not it warm  
starts.


All the Best
Dave

On 7 Apr 2006, at 16:49, Mark Schonewille wrote:


Hi Dave,

It is not clear to me what you are trying to accomplish. Why do you  
set the visible of the stack to true or false if you're going to  
close it anyway?


If the problem is that the stack flashes *before* its visible  
property is set, it is possibe that removing as toplevel from  
your script solves the problem. Why did you include that?


Completely contrary to HyperCard, Revolution's lock screen  
command prevents windows from being redrawn but does not prevent  
them from appearing on screen. You might want to set the loc of the  
stack off-screen before changing the visible property, then hide  
the stack and set the loc to the original value.


Best,

Mark

David Burgun wrote:

Hi,
When I run the script portion below, I get the stack windows  
flashing  for a split second. I thought that the lock screen  
command would cure  it, but it doesn't seem to work.

  lock screen
  repeat for each line myCurrentFileName in myFilesList
if item -1 of myCurrentFileName  rev then next repeat
put myStackFilePath  myCurrentFileName into  
myCurrentFilePathName

if myCurrentFilePathName = myStackFilePathName then next repeat
if myCurrentFilePathName  the filename of   
myCallingStackLongName then

  if there is a stack myCurrentFilePathName then
if the script of stack myCurrentFilePathName contains   
myHandlerString then
  set the cpDebugEnableFlag of stack  
myCurrentFilePathName  to theDebugEnableFlag
  put the visible of stack myCurrentFilePathName  into   
myStackVisibleFlag

  go invisible to stack myCurrentFilePathName as topLevel
  set the visible of stack myCurrentFilePathName  to   
myStackVisibleFlag

  save stack myCurrentFilePathName
  close stack myCurrentFilePathName
end if
  end if
end if
  end repeat
  unlock screen
Any ideas??
Thanks a lot
Dave


--

Consultant and Software Engineer
mailto:[EMAIL PROTECTED]
http://www.economy-x-talk.com

eHUG coordinator
mailto:[EMAIL PROTECTED]
http://www.ehug.info

Advertise with us and reach 1000 truely interested internet users  
every month. See http://economy-x-talk.com/advertise.html for more  
information.


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

http://lists.runrev.com/mailman/listinfo/use-revolution


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


How to stop screen flicker

2006-04-06 Thread David Burgun

Hi,

When I run the script portion below, I get the stack windows flashing  
for a split second. I thought that the lock screen command would cure  
it, but it doesn't seem to work.


  lock screen
  repeat for each line myCurrentFileName in myFilesList
if item -1 of myCurrentFileName  rev then next repeat
put myStackFilePath  myCurrentFileName into myCurrentFilePathName
if myCurrentFilePathName = myStackFilePathName then next repeat

if myCurrentFilePathName  the filename of  
myCallingStackLongName then

  if there is a stack myCurrentFilePathName then
if the script of stack myCurrentFilePathName contains  
myHandlerString then
  set the cpDebugEnableFlag of stack myCurrentFilePathName  
to theDebugEnableFlag
  put the visible of stack myCurrentFilePathName  into  
myStackVisibleFlag

  go invisible to stack myCurrentFilePathName as topLevel
  set the visible of stack myCurrentFilePathName  to  
myStackVisibleFlag

  save stack myCurrentFilePathName
  close stack myCurrentFilePathName
end if
  end if
end if
  end repeat
  unlock screen

Any ideas??

Thanks a lot
Dave

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