473,386 Members | 1,886 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.

Sizing a control on a multirowedTab Control

Is there a way to determine the size of the useable area
of a tab control? I'm trying to create a Panel on the fly
to place controls in (so it is scrollable), but the Tab
Pages are all created on the fly also, and the number of
rows of tabs could change, and I want the panel size to
change to fit the available space. Thanks.
Nov 20 '05 #1
2 884
Cor
Hi Sean,

That you do not have to measure when you use the "dock" property,

I think you will love it when you see it?

(Although after a while you hate it because you have to take care of the
order you places controls on a form).

Cor
Is there a way to determine the size of the useable area
of a tab control? I'm trying to create a Panel on the fly
to place controls in (so it is scrollable), but the Tab
Pages are all created on the fly also, and the number of
rows of tabs could change, and I want the panel size to
change to fit the available space. Thanks.

Nov 20 '05 #2
Damn, that is pretty sweet. Thanks!
-----Original Message-----
Hi Sean,

That you do not have to measure when you use the "dock" property,
I think you will love it when you see it?

(Although after a while you hate it because you have to take care of theorder you places controls on a form).

Cor
Is there a way to determine the size of the useable area
of a tab control? I'm trying to create a Panel on the fly to place controls in (so it is scrollable), but the Tab
Pages are all created on the fly also, and the number of
rows of tabs could change, and I want the panel size to
change to fit the available space. Thanks.

.

Nov 20 '05 #3

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

Similar topics

5
by: Richard Muller | last post by:
Hi All, As I recall from Java Swing, I could assign the widths of columns to something like a list control proportionally rather than absolutely. That is, essentially I could assign "weights"...
4
by: Tim Marsden | last post by:
Hi I would like to add controls to my page at runtime. What containers can I use to host the controls? I know I can add them to the form controls collection, but I need to have control on where...
1
by: Tim Burda | last post by:
I am having some problems with getting an .gif file to display properly on an ASPX page. The image appears grainy and distorted. I have tried implementing the image (stored in several formats)...
1
by: blue_nirvana | last post by:
I am having trouble sizing a picture after inserting it into Word using VB.NET. I have a Windows form that allows a user to select several pictures from file. They can then export those pictures...
5
by: lamxing | last post by:
Hi, I've come across a strange problem with the WinForm's sizing. I've designed a WinForm and it runs fine on my computer and some other PCs. But when I was trying to run the app under some PCs...
2
by: John B | last post by:
Hi all, I want to prevent the user being able to vertically size a control, in the same manner that single line textbox and autosize labels do. I can override SetBoundsCore which prevents the...
3
by: Eric | last post by:
I have created a fairly basic composite control consisting of a Label and a TextBox. In the overridden Render function, I'm creating a table with two rows and each row contains a cell (td). The...
1
by: Jeff | last post by:
Hey ..NET 2.0 I've created a User Control which contain a DataGridView. This User Control is displayed on a TabPage. This TabPage is added to the TabControl during runtime. The problem is...
4
by: R.A.F. | last post by:
Hi, Basically i've read that under C++ we can avoid flickering forms during sizing (maximize, minimize, restore,...) in SDi/MDI application. I understood that for that i need to override the...
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: 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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
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
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.