That's real kool, Klaus . . . thanks very much. I'll give it a try

Message: 7
Date: Wed, 12 Nov 2003 19:30:38 +0100
From: Klaus Major <[EMAIL PROTECTED]>
Subject: Re: URL Bookmarks
To: How to use Revolution <[EMAIL PROTECTED]>
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=US-ASCII; format=flowed

Hi Roger,

Hello Folks.

What I would like to do is to enable the user to open an Internet
browser from within a RunRev app,
navigate to a site and store a bookmark to that site in the RunRev app
(like in a List Field.)
Can anyone help with this?

What about the new window decoration "systemwindow" for your stack? (Will let your stack float above ALL other windows, RR or not :-)

This way the user could drag and drop the URL to your listfield and
launch an URL
by simply doubleclicking a line in that field...?

Put this into the script of your listfield and there you are...
Works fine here on OS X with Safari :-)

on dragdrop
   if me = empty then
     put dragdata["text"] after me
   else
     put CR & dragdata["text"] after me
   end if
   pass dragdrop
   ## necessary for locked fields...
end dragdrop

on dragenter
   set the acceptdrop to true
end dragenter

on mousedoubleup
   revgourl the hilitedlines of me
end mousedoubleup

Just a quick thought :-)

Hope that helps...

TIA, Roger

Regards


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


_______________________________________________ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to