Re: how to trap put calls?

2008-01-24 Thread Andre Garzia
Friends,

made it work with a button. The button will receive a msgChanged
event, then you can inspect the msg pseudo variable and do your stuff.

:-D

Andre

On 1/24/08, Stephen Barncard [EMAIL PROTECTED] wrote:
 wouldn't it have to be directed to a FIELD to be useful?? I couldn't
 get it to work either.

 I guess we can't file a bug report on an unsupported feature.

 You might send off a note to Jerry Daniels - he made his own message
 box in Galaxy, ages ago...

 also you might post on the improve list -- someone from headquarters
 might chip in..



 sqb

 Stephen,
 
 thanks! I can't make it work :-(
 
 I do
 
 set the revmessageboxredirect to the long id of btn my button
 
 and it doesn't work ???
 
 Any clue?
 
 Cheers
 andre

 --


 stephen barncard
 s a n  f r a n c i s c o
 - - -  - - - - - - - - -



 ___
 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



-- 
http://www.andregarzia.com All We Do Is Code.
___
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 trap put calls?

2008-01-24 Thread Stephen Barncard
wouldn't it have to be directed to a FIELD to be useful?? I couldn't 
get it to work either.


I guess we can't file a bug report on an unsupported feature.

You might send off a note to Jerry Daniels - he made his own message 
box in Galaxy, ages ago...


also you might post on the improve list -- someone from headquarters 
might chip in..




sqb


Stephen,

thanks! I can't make it work :-(

I do

set the revmessageboxredirect to the long id of btn my button

and it doesn't work ???

Any clue?

Cheers
andre


--


stephen barncard
s a n  f r a n c i s c o
- - -  - - - - - - - - -



___
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 trap put calls?

2008-01-24 Thread Stephen Barncard
Works like a champ. I have integrated it into my work sandbox stack - 
and what's really nice is that it doesn't affect the  PUT use of the 
Galaxy message box - best of both worlds.

thanks, Andre

 that goes into the Scrapbook. I love this list. Ideas waiting for 
solutions to solve!


sqb



Friends,

made it work with a button. The button will receive a msgChanged
event, then you can inspect the msg pseudo variable and do your stuff.

:-D

Andre



--


stephen barncard
s a n  f r a n c i s c o
- - -  - - - - - - - - -



___
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 trap put calls?

2008-01-23 Thread Andre Garzia
Stephen,

thanks! I can't make it work :-(

I do

set the revmessageboxredirect to the long id of btn my button

and it doesn't work ???

Any clue?

Cheers
andre

On 1/21/08, Stephen Barncard [EMAIL PROTECTED] wrote:
 the revMessageBoxRedirect
 ~

 This global property allows you to configure what happens when the
 value of the 'msg' pseudo-variable changes.

 When set to empty, the old behaviour will be used.

 When set to the long id of a field, the old behaviour is replicated
 but instead of 'msg' being put into field 1 of card 1 of stack
 Message Box, it is put into the target field. (Note that this form
 will also cause the field's stack to be modeless'ed and raised).

 When set to the long id of a non-field object, the specified object
 will receive a 'msgChanged' message meaning that you have complete
 control over what to do with the updated value of 'msg'.

 NB. This property is only available in the IDE engine.
 --


 stephen barncard
 s a n  f r a n c i s c o
 - - -  - - - - - - - - -



 ___
 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



-- 
http://www.andregarzia.com All We Do Is Code.
___
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 trap put calls?

2008-01-23 Thread Ian Wood

Set it to a field and not a button?

Ian

On 24 Jan 2008, at 01:33, Andre Garzia wrote:


thanks! I can't make it work :-(

I do

set the revmessageboxredirect to the long id of btn my button

and it doesn't work ???


___
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 trap put calls?

2008-01-21 Thread Stephen Barncard
Andre - there is actually some command that will divert put to 
anywhere you like -- this went in on the release of 2.8.1 I think - 
else one of the early 2.9 betas...





Hello Friends,

I want to trap put calls so that they don't go to the message box. I
know this been done before since there are message box replacements
out there but I don't know how it was done.

For the next revision of RevOnRockets, I want to make RevHTTP server
work with any kind of CGI, for doing that, I need to trap the put
calls that the cgis will be using to send data to the browser so that
I can send it myself.

any clues?

TIA
andre



--


stephen barncard
s a n  f r a n c i s c o
- - -  - - - - - - - - -



___
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 trap put calls?

2008-01-21 Thread Stephen Barncard

the revMessageBoxRedirect
~

This global property allows you to configure what happens when the 
value of the 'msg' pseudo-variable changes.


When set to empty, the old behaviour will be used.

When set to the long id of a field, the old behaviour is replicated 
but instead of 'msg' being put into field 1 of card 1 of stack 
Message Box, it is put into the target field. (Note that this form 
will also cause the field's stack to be modeless'ed and raised).


When set to the long id of a non-field object, the specified object 
will receive a 'msgChanged' message meaning that you have complete 
control over what to do with the updated value of 'msg'.


NB. This property is only available in the IDE engine.
--


stephen barncard
s a n  f r a n c i s c o
- - -  - - - - - - - - -



___
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