473,396 Members | 1,834 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,396 software developers and data experts.

Can I "dock" on 3 sides only?

By looking at the properties of my control (tabControl) it looks like I have
the choice of docking the size to my form on either one sigle side (left,
right, top, bottom) or all sides (fill). Is there a way to dock on the
left, right, and bottom side only?
Nov 16 '05 #1
4 1711
> Is there a way to dock on the left, right, and bottom side only?

what would that look like?

Docking on the bottom means docking the entire width of the window across
the bottom... connected to the left and right sides.
--
--- Nick Malik [Microsoft]
MCSD, CFPS, Certified Scrummaster
http://blogs.msdn.com/nickmalik

Disclaimer: Opinions expressed in this forum are my own, and not
representative of my employer.
I do not answer questions on behalf of my employer. I'm just a
programmer helping programmers.
--
Nov 16 '05 #2
Yes use the Anchor property instead.

"Keith Smith" <ke*********@verizon.net> schrieb im Newsbeitrag
news:dsB%d.11716$GI6.1837@trnddc05...
By looking at the properties of my control (tabControl) it looks like I have the choice of docking the size to my form on either one sigle side (left,
right, top, bottom) or all sides (fill). Is there a way to dock on the
left, right, and bottom side only?

Nov 16 '05 #3
>> Is there a way to dock on the left, right, and bottom side only?

what would that look like?

Docking on the bottom means docking the entire width of the window across
the bottom... connected to the left and right sides.


Ok, I see what you mean. I had a misunderstanding of what docking does.

However, whenever I choose only the "bottom" to dock my control, how come it
also moves the top of my control up about an inch?
Nov 16 '05 #4
> Yes use the Anchor property instead.

Thanks. That looks like what I needed.
Nov 16 '05 #5

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

Similar topics

11
by: Steve | last post by:
Is it possible to "dock" a menu, to basically achieve the same effect as frames without using frames? Is JavaScript required(to continually reposition the element), or can it all be achieved using...
10
by: gregory_may | last post by:
I have an application I created called "JpegViewer.exe". It simply loads a Jpeg file and displays in on the screen. It works great, in my lab. When I am using it at a customer site, things...
3
by: A.C. Jetter | last post by:
I am using C# in Visual Studio.Net to create an application. The problem I am having is when the main form is moved around on the screen, the "panel" form that is displayed on the tab control...
10
by: jaire | last post by:
In my application I have two threads. Each of them creates a new propertygrid. In the property grid I have a property with a color editor. Whenever i am clicking on the combo box to change the...
8
by: Newsgroups | last post by:
Q: How many licks DOES it take to get to the center of a Tootsie Pop? err... on a more serious note: What is the VB.NET equivalent of the VB 6.0 "control.SetFocus()" event? Thanks in...
3
by: Torben Laursen | last post by:
Hi Is there a component in c# like the Frame in Delphi. I'm looking for a way to handle a large number of component in one winform and a frame style component could do the trick. Or is possible...
3
by: Brett Romero | last post by:
I have an MDI Parent form with a toolstrip and menustrip. The menustrip is always the top most. Both are Docked to Top. I contemplated using a toolstripcontainer but then removed it. I had to...
3
by: Sugandh Jain | last post by:
Hi, I am using property like this.. private DateTime? _propName; public DateTime? PropName { get { return _propName; }
9
by: Anil Gupte | last post by:
I have a MDI Parent Child set of forms FormContainer --MDIParent FormStart --MDIChild FormMain-->MDIChild FormSliceInfo-->MDIChild I use the following in the beginning of FomrContainer ...
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: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.