Hi I am Robert and new to the CN1-Community,
I have a few Questions about the WebBrowser Component.
First is in the Headline, how can I set the UserAgent in this Component, I saw it is possible with the ConnectionRequest Object, but don't find any Methode for the Browser Component.
Second Question is, how to remove the scrollbars and make it fullscreen?
Third Question, is it possible to add some Controls in the Browser or do i have to add the controls around this field?
Best wishes,
Robert
My Implementation is like this:
WebBrowser browser = new WebBrowser();
browser.setPropertyValue("User-Agent", hSManager.getAccountVerwaltenUserAgent());
browser.setURL(hSManager.getAccountVerwaltenUrl());
Form f = new Form();
f.setLayout(new BorderLayout());
f.addComponent(BorderLayout.CENTER,browser);
f.show();