Re: Creating a answer hyperlink

2005-08-25 Thread Chris Sheffield


On Aug 23, 2005, at 12:47 PM, Stephen Barncard wrote:

This puts up a neat dialog with a clickable link - but according to  
the message watcher no messages are sent when clicked - even though  
the link does hilite.
Guess it has to be built. But it would be neat to send a message  
from the htmltext. The limitation is the dialog mode itself by  
definition.



Stephen,

Not quite true.  Well, maybe the message watcher doesn't see it, but  
it does work if you put a linkClicked handler in the same script  
where you call the answer dialog.  I've got a program that uses this  
method and it works perfectly.  The linkClicked handler then calls  
revGoURL like normal.


--
Chris Sheffield
Read Naturally
The Fluency Company
http://www.readnaturally.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


Re: Creating a answer hyperlink

2005-08-25 Thread Chris Sheffield


On Aug 23, 2005, at 12:47 PM, Stephen Barncard wrote:



This puts up a neat dialog with a clickable link - but according to  
the message watcher no messages are sent when clicked - even though  
the link does hilite.
Guess it has to be built. But it would be neat to send a message  
from the htmltext. The limitation is the dialog mode itself by  
definition.



Stephen,

Not quite true.  Well, maybe the message watcher doesn't see it, but  
it does work if you put a linkClicked handler in the same script  
where you call the answer dialog.  I've got a program that uses this  
method and it works perfectly.  The linkClicked handler then calls  
revGoURL like normal.



--
Chris Sheffield
Read Naturally
The Fluency Company
http://www.readnaturally.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


Re: Creating a answer hyperlink

2005-08-23 Thread Dan Shafer
I could be wrong (often am) but I think you'll have to use a regular  
substack to do this and not an answer dialog. As far as I can tell,  
an answer dialog responds only to clicks on buttons, not to any mouse  
actions in the text.


You *could* of course program a button click to take the user to the  
site with revGoURL but since you have no control over the appearance  
of the buttons or of the labels of the buttons in an answer dialog,  
I'm not sure that accomplishes what you want.


The good news is that doing this in a substack is easy and, in some  
ways, preferable to using the built-in ask/answer dialogs anyway.



On Aug 23, 2005, at 9:53 AM, subzero569 wrote:


I have a simple answer dialog displayed to a user.

example: answer information Today is
Tuesday.crhttp://www.somesite.com; with ok titled information

How can I turn the URL above into a hyperlink to launch the users
browser?  I am only concerned with Windows solution.

I have searched the archives and can't seem to find the right answer.
I tried goRevURL but didn't get it to work.

TIA,

Josh
--
Inch by inch, life is a cinch.
Yard by yard, life is very hard.
___
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





~~
Dan Shafer, Revolution Consultant and Author
http://www.shafermedia.com
Get my book, Revolution: Software at the Speed of Thought
From http://www.revolutionpros.com, Click My Stuff



___
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: Creating a answer hyperlink

2005-08-23 Thread Stephen Barncard
what about htmltext? Thanks to Eric's htmltext builder in his 
tutorials, I created the following script:


put pfont face=  quote  Charcoal  quote   size=  quote 
 36  quote  DUDE/font/p  quote   crquote  
pfont face=  quote  Charcoal  quote  YOU LEFT THE WATER 
RUNNING/font/p  quote   crquote  pfont 
face=  quote  Charcoal  quote  
ahttp://barncard.com/a/font/p into tPrompt


answer error tPrompt with Cancel or OK titled Test as sheet

This puts up a neat dialog with a clickable link - but according to 
the message watcher no messages are sent when clicked - even though 
the link does hilite.
Guess it has to be built. But it would be neat to send a message from 
the htmltext. The limitation is the dialog mode itself by definition.


sqb



Dan said:
I could be wrong (often am) but I think you'll have to use a regular 
substack to do this and not an answer dialog. As far as I can tell, 
an answer dialog responds only to clicks on buttons, not to any 
mouse actions in the text.


You *could* of course program a button click to take the user to the 
site with revGoURL but since you have no control over the appearance 
of the buttons or of the labels of the buttons in an answer dialog, 
I'm not sure that accomplishes what you want.


The good news is that doing this in a substack is easy and, in some 
ways, preferable to using the built-in ask/answer dialogs anyway.



___
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: Creating a answer hyperlink

2005-08-23 Thread Chris Sheffield


On Aug 23, 2005, at 12:47 PM, Stephen Barncard wrote:

This puts up a neat dialog with a clickable link - but according to  
the message watcher no messages are sent when clicked - even though  
the link does hilite.
Guess it has to be built. But it would be neat to send a message  
from the htmltext. The limitation is the dialog mode itself by  
definition.



Stephen,

Not quite true.  Well, maybe the message watcher doesn't see it, but  
it does work if you put a linkClicked handler in the same script  
where you call the answer dialog.  I've got a program that uses this  
method and it works perfectly.  The linkClicked handler then calls  
revGoURL like normal.


--
Chris Sheffield
Read Naturally
The Fluency Company
http://www.readnaturally.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


Re: Creating a answer hyperlink

2005-08-23 Thread Ken Ray
On 8/23/05 2:08 PM, Chris Sheffield [EMAIL PROTECTED] wrote:

 On Aug 23, 2005, at 12:47 PM, Stephen Barncard wrote:
 
 This puts up a neat dialog with a clickable link - but according to
 the message watcher no messages are sent when clicked - even though
 the link does hilite.
 Guess it has to be built. But it would be neat to send a message
 from the htmltext. The limitation is the dialog mode itself by
 definition.
 
 
 Stephen,
 
 Not quite true.  Well, maybe the message watcher doesn't see it, but
 it does work if you put a linkClicked handler in the same script
 where you call the answer dialog.  I've got a program that uses this
 method and it works perfectly.  The linkClicked handler then calls
 revGoURL like normal.

Can you clarify this a bit more, Chris? I tried this in a button:

on mouseUp
  answer pThis is aa link/a/p
end mouseUp

on linkClicked pLink
  put pLink
end linkClicked

and it didn't work... I clicked the link, but the answer dialog remained up
and nothing showed up in the message box.

Any hints?

:-)

Ken Ray
Sons of Thunder Software
Web site: http://www.sonsothunder.com/
Email: [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: Creating a answer hyperlink

2005-08-23 Thread Eric Chatonet

Hi Chris,

Could you explain how do you get this result?
A priori, if you use the standard dialog, the linkClicked message  
will be sent to the answer dialog stack (card 1) and never to the  
calling stack.
May be this works in a standalone if the standard dialog has become a  
substack and if your call is located in the script of your main  
stack (I did not verify).
I asked Runrev a long time ago to handle links in answer dialogs (at  
least revGoUrl the effective text and revMail the effective  
address) but I was not heard...


Le 23 août 05 à 21:08, Chris Sheffield a écrit :



On Aug 23, 2005, at 12:47 PM, Stephen Barncard wrote:


This puts up a neat dialog with a clickable link - but according  
to the message watcher no messages are sent when clicked - even  
though the link does hilite.
Guess it has to be built. But it would be neat to send a message  
from the htmltext. The limitation is the dialog mode itself by  
definition.





Stephen,

Not quite true.  Well, maybe the message watcher doesn't see it,  
but it does work if you put a linkClicked handler in the same  
script where you call the answer dialog.  I've got a program that  
uses this method and it works perfectly.  The linkClicked handler  
then calls revGoURL like normal.



Best Regards from Paris,

Eric Chatonet.

So Smart Software

For institutions, companies and associations
Built-to-order applications: management, multimedia, internet, etc.
Windows, Mac OS and Linux... With the French touch

Free plugins and tutorials on my website

Web sitehttp://www.sosmartsoftware.com/
Email[EMAIL PROTECTED]/
Phone33 (0)1 43 31 77 62
Mobile33 (0)6 20 74 50 86


___
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: Creating a answer hyperlink

2005-08-23 Thread Eric Chatonet

Le 23 août 05 à 21:29, Eric Chatonet a écrit :

I asked Runrev a long time ago to handle links in answer dialogs  
(at least revGoUrl the effective text and revMail the effective  
address) but I was not heard...


And I add: it would be easy.
If I have a couple of minutes, I shall write a patch tomorrow...

Best Regards from Paris,

Eric Chatonet.

So Smart Software

For institutions, companies and associations
Built-to-order applications: management, multimedia, internet, etc.
Windows, Mac OS and Linux... With the French touch

Free plugins and tutorials on my website

Web sitehttp://www.sosmartsoftware.com/
Email[EMAIL PROTECTED]/
Phone33 (0)1 43 31 77 62
Mobile33 (0)6 20 74 50 86


___
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