|
-
Feb 25th, 2012, 06:13 PM
#1
Thread Starter
Addicted Member
-
Feb 25th, 2012, 06:31 PM
#2
Re: Can this be possibly done?
It can't be done quite the way you describe. The pages would load into the full web browser control, whatever that happens to be, and you can't have half a control. However, you can certainly have half of a control visible, and there are a couple ways to do it.
One option would be to put the webbrowser either on a form, or even better on a panel. Then, in code or in the designer, set the size of the web browser such that it is twice as wide as the container that it is on. The page will load into the control, but only have will be visible.
The other option would be to put a panel over the top of half of the control. The browser would be on the form, and a panel, set to the color of the form, or white, or black, depending on what you are trying to achieve, and position the panel such that it is over part of the webbrowser control.
My usual boring signature: Nothing
 
-
Feb 25th, 2012, 06:33 PM
#3
Thread Starter
Addicted Member
Re: Can this be possibly done?
Thanks, I will try both ideas out and see how it comes, good thing I thought of the second one of putting the panel over it as well, and it's close to resolving the problem.
EDIT: Yes, the idea of setting the webbrowser's width twice of that of the panel works perfectly, thank you very much dude!
Last edited by Legjendat; Feb 25th, 2012 at 06:37 PM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|