If I am expanding (maximizing a form how do I maximize the tab control along
with it? 6 1480
"Aaron Ackerman" <no@spam.com> wrote in
news:Od**************@TK2MSFTNGP09.phx.gbl: If I am expanding (maximizing a form how do I maximize the tab control along with it?
I think what you're looking for is the anchor property in design view. Play
around with it, and find how anchoring an object affects the resizing of
the control when the parent control is resized.
-- dexter
Hi Aaron,
Have you looked into the Anchor property? Anchor the Tab Control to all
sides and it will grow and shrink with the Form.
You'll still have to manage the Controls on each Page, but they, in turn,
can be anchored to the Tab Pages.
Generally - Anchor a Control to one side of its Container and it will keep
its position relative to that side. Anchor the Control to both sides (in a
given direction) and it will grow and shrink along with the Container.
Regards,
Fergus
Umm, no that works terribly I ment in code.
"Fergus Cooney" <fi******@tesco.net> wrote in message
news:uN**************@TK2MSFTNGP11.phx.gbl... Hi Aaron,
Have you looked into the Anchor property? Anchor the Tab Control to
all sides and it will grow and shrink with the Form.
You'll still have to manage the Controls on each Page, but they, in
turn, can be anchored to the Tab Pages.
Generally - Anchor a Control to one side of its Container and it will
keep its position relative to that side. Anchor the Control to both sides (in a given direction) and it will grow and shrink along with the Container.
Regards, Fergus
Umm, no that works terribly I ment in code.
"poindexter frink" <de****@fleetcom.ca> wrote in message
news:Xn******************************@207.46.248.1 6... "Aaron Ackerman" <no@spam.com> wrote in news:Od**************@TK2MSFTNGP09.phx.gbl:
If I am expanding (maximizing a form how do I maximize the tab control along with it? I think what you're looking for is the anchor property in design view.
Play around with it, and find how anchoring an object affects the resizing of the control when the parent control is resized.
-- dexter
So if the Anchor property will not do what you want then exactly what is it
that you want to do?
"Aaron Ackerman" <no@spam.com> wrote in message
news:uO**************@TK2MSFTNGP12.phx.gbl... Umm, no that works terribly I ment in code.
"poindexter frink" <de****@fleetcom.ca> wrote in message news:Xn******************************@207.46.248.1 6... "Aaron Ackerman" <no@spam.com> wrote in news:Od**************@TK2MSFTNGP09.phx.gbl:
If I am expanding (maximizing a form how do I maximize the tab control along with it?
I think what you're looking for is the anchor property in design view. Play around with it, and find how anchoring an object affects the resizing of the control when the parent control is resized.
-- dexter
Hi Aaron,
It's easy to resize the Tab Control when the Form resizes so that it
matches size with the Form, but that's what Anchor. How does Anchor fail for
you when you maximise. Is it the issue of all the other Controls?
Or, putting it another way, your requirement must be something beyond the
simple - what exactly do you want to do?
Regards,
Fergus This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: cdj |
last post by:
Hi all,
I've got a tabControl, initially with one tabPage, along with two
buttons, one to add another tabPage, and one to delete the current
(selected) tabPage.
On each tabPage, when it is...
|
by: Francois Vanderseypen |
last post by:
Can someone tell me why you cannot drag something onto a tabcontrol
with zero tabpages? I have a kind of 'docking' interface and relies
heavily on GDI+, a screenshot is available here:
...
|
by: Aaron Ackerman |
last post by:
If I am expanding (maximizing a form how do I maximize the tab control along
with it?
|
by: Michael Turner |
last post by:
Hi Guys
Having problem with the tab control, I need to set the background color to
something different than the standard, I have found code on the web and now
can redraw the tabpage buttons so...
|
by: Aspnot |
last post by:
I have a TabControl that is on a form that is bound to a DataSet. I bind the
dataset to the form in the Form_Load event. The TabControl has 2 TabPages.
The first TabPage contains a button and a...
|
by: Gregory Gadow |
last post by:
The TabControl that shipped with .NET 2.0 is seems to be buggier than
dog droppings in high summer. Among several complaints, the tabs
themselves look horrifically ugly when their pages have the...
|
by: Simon Verona |
last post by:
I have a few hundred forms in my application. All are based on a custom base form class.
I decided that I wanted to globally change the look and feel of many of the controls in my application -...
|
by: bertie78 |
last post by:
Hi all,
New poster here! I'm having some difficulty updating a tabcontrol cross-threads.
The general idea is : the main thread is the owner of the tab control and the form controls. However, due...
|
by: Jamey |
last post by:
Ran into an inconvenience with TabControls yesterday. I found a
partial explanation from Allen Browne on the MS message boards
explaining when it happens, but not why. I thought Stephen Lebans...
|
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...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
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...
|
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...
|
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...
|
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...
|
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...
|
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: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new...
| |