"Select All" feature in RevBrowser

Mark Schonewille m.schonewille at economy-x-talk.com
Sun Nov 2 12:06:10 EST 2008


Hi Marcus,

I don't think this is possible, but you can create a "copy all text"  
feature.

on copyAllText theBrowserInstance
   put revBrowserGet(theBrowserInstance,"htmlText") into myHtml
   set the htmlText of fld "Hidden Field" to myHtml
   set the clipboardData["text"] to fld "Hidden Field"
end copyAllText

Untested, should work. You might want to add some code to remove img  
tags and other unnecessary stuff, before you set the htmlText of the  
field.

Best,

Mark

--

Economy-x-Talk
Consultancy and Software Engineering
http://economy-x-talk.com
http://www.salery.biz

Get your store on-line within minutes with Salery Web Store software.  
Download at http://www.salery.biz

Op 2-nov-2008, om 17:57 heeft Marcus Lindley het volgende geschreven:

> How would I create a "select all" feature in the revBrowser?   
> Something similar to the way Internet Explorer has a "select all"  
> button in the main menu
> drop down list and selects everything in the browser window.  I've  
> tried the RevBrowserGet and RevBrowserSet functions, but cannot  
> seem to get anything to work.
> I am using Rev 2.9.
>
> Marcus L.
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your  
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution





More information about the use-livecode mailing list