Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » How to listen to a IFrame selection object within a Browser(How to listen to a IFrame selection object within a Browser)
icon5.gif  How to listen to a IFrame selection object within a Browser [message #907509] Tue, 04 September 2012 06:41 Go to next message
Rahul Chandrashekar is currently offline Rahul Chandrashekar
Messages: 43
Registered: July 2009
Member
Dear All,

I have a SWT Browser and to this browser, i am setting a URl.

On doing so i a iFrame object is being set to this browser. The iframe has some events and how do i capture the same within the browser.

For ex : if "Ok" button is pressed within the iFrame ,how can i capture the same.

Regds
Rahul Chandrashekar.

[Updated on: Tue, 04 September 2012 06:56]

Report message to a moderator

Re: How to listen to a IFrame selection object within a Browser [message #908644 is a reply to message #907509] Wed, 05 September 2012 18:10 Go to previous message
Grant Gayed is currently offline Grant Gayed
Messages: 2151
Registered: July 2009
Senior Member
For an example of listening on JS events see
http://git.eclipse.org/c/platform/eclipse.platform.swt.git/tree/examples/org.eclipse.swt.snippets/src/org/eclipse/swt/snippets/Snippet362.java
.. I think this is adequate for your case (?).

Grant


On 9/4/2012 2:41 AM, Rahul Chandrashekar wrote:
> Dear All,
>
> I have a SWT Browser and to this browser, i am setting a URl.
>
> On doing so i a iFrame object is being set to this browser. The iframe
> has some events and how do i capture the same within the browser.
>
> For ex : if "Ok" button is pressed within the iFrame ,how can i capture
> the same.
>
> Regds
> Rahul Chandrashekar.
Previous Topic:HTML5 support for SWTBrowser
Next Topic:[solved]Problem with getting started - swt is not built
Goto Forum:
  


Current Time: Wed Oct 01 22:38:03 GMT 2014

Powered by FUDForum. Page generated in 0.01554 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software