tags:

views:

10

answers:

0

Hello, I am using com.ibm.rcp.browser.service.WebBrowser to render some HTML text.

I also need to accomplish this UI requirement when there is a hyperlink clicked at the bottom of the page: "Allow more entries to be displayed in the view: When the user clicks more, additional entries should be displayed in addition to the ones which are already displayed. The code should cause the UI to scroll such that the first entry of the "more" set is on top".

Well, first of all, I want to get a handle of the VerticalBar of this WebBrowser. I could not get it for some reason. I can get webBrowser.getBrowserComposite().getBounds().height correctly. BUT, the following two calls both return NULL. webBrowser.getVerticalBar() webBrowser.getParent().getVerticalBar()

Could some provide some advice on this?

The APIs are available from this site. http://publib.boulder.ibm.com/infocenter/ledoc/v6r2/index.jsp?topic=/com.ibm.rcp.ui.browser.javadoc/docs/api/overview-tree.html

related questions