Re: Stopping Handlers

2010-04-16 Thread Robert Brenstein

On 14.04.2010 at 12:08 Uhr -0500 J. Landman Gay apparently wrote:

Andrew Kluthe wrote:

I have a moveStack handler that triggers sometimes accidentally before all of
my windows open and causes it to error out and not finish opening what is
needed for the application.

Can I use lock messages in my preOpenStack to keep the moveStack from being
handled, or am I misunderstanding lock messages?


You could. Or you could put a check at the top of the handler that 
looks to see if the last window exists yet:


 if there is no window "lastWindowToOpen" then pass movestack

--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.com



or you could set a global gLaunching to true in preopenstack and to 
false when all init processes ran, and exit instantly movestack or 
any other handler while gLaunching is true.


Robert
___
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: Stopping Handlers

2010-04-14 Thread J. Landman Gay

Andrew Kluthe wrote:

I have a moveStack handler that triggers sometimes accidentally before all of
my windows open and causes it to error out and not finish opening what is
needed for the application.

Can I use lock messages in my preOpenStack to keep the moveStack from being
handled, or am I misunderstanding lock messages?


You could. Or you could put a check at the top of the handler that looks 
to see if the last window exists yet:


 if there is no window "lastWindowToOpen" then pass movestack

--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.com
___
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


Stopping Handlers

2010-04-13 Thread Andrew Kluthe

I have a moveStack handler that triggers sometimes accidentally before all of
my windows open and causes it to error out and not finish opening what is
needed for the application.

Can I use lock messages in my preOpenStack to keep the moveStack from being
handled, or am I misunderstanding lock messages?
-- 
View this message in context: 
http://n4.nabble.com/Stopping-Handlers-tp1838846p1838846.html
Sent from the Revolution - User mailing list archive at Nabble.com.
___
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


stopping Handlers

2006-01-12 Thread liamlambert

Thank you all
Have it working coming back to screen
Liam Lambert
[EMAIL PROTECTED]
IRELAND


___
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: stopping Handlers

2006-01-12 Thread Eric Chatonet

Hi Liam,

on fCredit
  if fld "credit" = empty then
answer "No credit card number."
EXIT TO TOP
end fCredit

Thinking of ergonomics, you might prefer to come back to a previous  
screen modified to allow the user to correct his error instead :-)


on fCredit
  if fld "credit" = empty then
go back -- you get the idea
EXIT TO TOP
end fCredit

Le 12 janv. 06 à 22:08, liamlambert a écrit :


on mouseUp
   if fld "paymenttype" = "credit card" then fcredit --fcredit  
the card number was filled in

fSave
   TotalSeats
 end mouseUp


on fCredit
   if fld "credit" = "" then answer "NO CREDIT CARD NUMBER"  if  
it answers then I want it to stop

  end fCredit


Best Regards from Paris,
Eric Chatonet
 
--

http://www.sosmartsoftware.com/[EMAIL PROTECTED]/


___
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: stopping Handlers

2006-01-12 Thread Sarah Reichelt
>   on mouseUp
> if fld "paymenttype" = "credit card" then fcredit --fcredit
> the card number was filled in
> fSave
> TotalSeats
>   end mouseUp
>
>
> on fCredit
> if fld "credit" = "" then answer "NO CREDIT CARD NUMBER"  if
> it answers then I want it to stop
>end fCredit
>

Try this:

on fCredit
if fld "credit" = "" then
answer "NO CREDIT CARD NUMBER"
exit to top
end if
end fCredit

Cheers,
Sarah
___
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


stopping Handlers

2006-01-12 Thread liamlambert

 Hi all

 on mouseUp
   if fld "paymenttype" = "credit card" then fcredit --fcredit  
the card number was filled in

fSave
   TotalSeats
 end mouseUp


on fCredit
   if fld "credit" = "" then answer "NO CREDIT CARD NUMBER"  if  
it answers then I want it to stop

  end fCredit


 Thank's

Liam Lambert
[EMAIL PROTECTED]
IRELAND


___
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: stopping Handlers

2006-01-12 Thread Jerry Muelver
From: "liamlambert" 

Hi all
I have this script in a button which calls three handlers
the if statement checks the fld for the card number was filled in
if it was not I want to stop calling the fsave and the fTotalSeats  
Handlers

on mouseUp
  if fld "paymenttype" = "credit card" then fcredit
  fSave
  TotalSeats
end mouseUp
Thank's


How about :
on mouseUp
  if fld "paymenttype" = "credit card" then 
 fcredit

 fSave
 TotalSeats
  end if
end mouseUp

-- Jerry Muelver
___
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: stopping Handlers

2006-01-12 Thread Klaus Major

Hi Liam,


Hi all
I have this script in a button which calls three handlers
the if statement checks the fld for the card number was filled in
if it was not I want to stop calling the fsave and the fTotalSeats  
Handlers

on mouseUp
  if fld "paymenttype" = "credit card" then fcredit
  fSave
  TotalSeats
end mouseUp


you mean "fcredit" check if the number was entered and you only
want to proceed if that is the case?

In that case i would make "fcredit" a function and check that.

on mouseUp
  if fld "paymenttype" = "credit card" then
if fcredit() = true then
   fSave
   TotalSeats
   end if
  end if
end mouseUp

I hope i get you right...?


Thank's
Liam Lambert
[EMAIL PROTECTED]
IRELAND


Regards

Klaus Major
[EMAIL PROTECTED]
http://www.major-k.de

___
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


stopping Handlers

2006-01-12 Thread liamlambert

Hi all
I have this script in a button which calls three handlers
the if statement checks the fld for the card number was filled in
if it was not I want to stop calling the fsave and the fTotalSeats  
Handlers

on mouseUp
  if fld "paymenttype" = "credit card" then fcredit
  fSave
  TotalSeats
end mouseUp
Thank's
Liam Lambert
[EMAIL PROTECTED]
IRELAND


___
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