473,386 Members | 1,699 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Dock.Fill filling picture box beneath the ToolBar

I have a picture box that I added to an inherited child form, which included
a toolbar from the base form. I added a picture box to the inherited form
and set the image to stretched. When I set the picturebox dock parameter to
"Fill", the image fills the form... including "sliding" under the toolbar.

Does anyone know what is causing this and how to prevent it?
Nov 15 '05 #1
2 3337
Right click on the picturebox and choose BringToFront. The layout of docked
controls is based on z-order.

"Sean Connery" <nf*@nospam.com> wrote in message
news:ua**************@TK2MSFTNGP09.phx.gbl...
I have a picture box that I added to an inherited child form, which included a toolbar from the base form. I added a picture box to the inherited form
and set the image to stretched. When I set the picturebox dock parameter to "Fill", the image fills the form... including "sliding" under the toolbar.

Does anyone know what is causing this and how to prevent it?

Nov 15 '05 #2
Thanks. I never would have guessed and this is the sort of thing you don't
find in books.

"Andrew (Infragistics)" <pr************@infragistics.com> wrote in message
news:Ov**************@TK2MSFTNGP10.phx.gbl...
Right click on the picturebox and choose BringToFront. The layout of docked controls is based on z-order.

"Sean Connery" <nf*@nospam.com> wrote in message
news:ua**************@TK2MSFTNGP09.phx.gbl...
I have a picture box that I added to an inherited child form, which

included
a toolbar from the base form. I added a picture box to the inherited form and set the image to stretched. When I set the picturebox dock parameter

to
"Fill", the image fills the form... including "sliding" under the toolbar.
Does anyone know what is causing this and how to prevent it?


Nov 15 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: JohnnyB via DotNetMonster.com | last post by:
Hello, I dont know, if this has already been asked before, I'm sorry if so. VisualBasic: My problem (happens with TreeView, not with AxWebBrowser): treeview uses (no matter, if dock = left,...
0
by: jackywei | last post by:
Hi, We are doing a C# project. In this project we want to have a toolbar(or rebar) and a dialog bar. And these bars must support dock. We find them on the Internet and find some demo. But we fnd...
2
by: Woody Splawn | last post by:
I have a question about technique with regard to filling drop downs. I have a Winform that has several different tabs and tables associated with it. In an effort to keep the load time small I...
0
by: A_PK | last post by:
Hi I got the following environment.......Form1 and inside Form1, got Panel1.... I also got another new Form ...named Form2... Form1, Panel1 Form2 Inside Form1, I click a button to show Form2...
4
by: jvb | last post by:
Hey all, I am using a floating toolbar control on a thick app i am writing and i am having a slight issue. When i set the datagrid on the form to a dock of TOP, then specify the toolbars to be...
3
by: marfi95 | last post by:
My application consists of basically a treeview on the left side, along with a panel control that takes up the right side. When nodes are clicked on the left, the data on the right side of the...
7
by: Zytan | last post by:
I just wanted a little practice with the WebBrowser control, so I did the VB guided tour example here in C#: http://msdn2.microsoft.com/en-us/library/a08t4ke7(VS.80).aspx The tutorial asks to put...
0
by: KW | last post by:
I created custom toolbar icons that look and function similar to the standard MS Access Fill/Back Color and Fill/Fore Color toolbar icons. My custom icons call a function that uses the Terry Kreft...
12
by: Rotsey | last post by:
Hi, I have not had a good answer to this question. I put a menustrip on a form and so it is a main menu in affect. Now I put a webbrowser control on the form and set it dock fill. Of...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.