473,396 Members | 2,158 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.

Navigate though Usercontrols in a GroupBox

Hi,

I want to navigate though my usercontrols via some buttons, how to i do
that....

I have tried lots of thing, but as I'm still new to C# i havent found
the right path to follow yet, are there any one that can help me, I have
the following code....

private void Form1_Load(object sender, System.EventArgs e)
{
TextBoxes myTextBoxes = new TextBoxes();
CheckBoxes myCheckBoxes = new CheckBoxes();
Buttons myButtons = new Buttons();

myTextBoxes.Location = new System.Drawing.Point(20, 10);
myCheckBoxes.Location = new System.Drawing.Point(20, 10);
myButtons.Location = new System.Drawing.Point(20, 10);

this.Group.Controls.Add(myTextBoxes);
this.Group.Controls.Add(myCheckBoxes);
this.Group.Controls.Add(myButtons);
}
and want to make a button to nagivete to the left and right, how to do
that.... I can ofcause make the button, but how to select the next or
previous usercontrol???

kind regards
Syska

Nov 16 '05 #1
1 1441
Aint there any one that can help me with this one???

maybe just a little hint?

Mikael Syska wrote:
Hi,

I want to navigate though my usercontrols via some buttons, how to i do
that....

I have tried lots of thing, but as I'm still new to C# i havent found
the right path to follow yet, are there any one that can help me, I have
the following code....

private void Form1_Load(object sender, System.EventArgs e)
{
TextBoxes myTextBoxes = new TextBoxes();
CheckBoxes myCheckBoxes = new CheckBoxes();
Buttons myButtons = new Buttons();
myTextBoxes.Location = new System.Drawing.Point(20, 10);
myCheckBoxes.Location = new System.Drawing.Point(20, 10);
myButtons.Location = new System.Drawing.Point(20, 10);

this.Group.Controls.Add(myTextBoxes);
this.Group.Controls.Add(myCheckBoxes);
this.Group.Controls.Add(myButtons);
}
and want to make a button to nagivete to the left and right, how to do
that.... I can ofcause make the button, but how to select the next or
previous usercontrol???

kind regards
Syska

Nov 16 '05 #2

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

Similar topics

6
by: Patrick Coghlan | last post by:
I want to create about 4 forms with the same dimensions and background colours, similar to the forms one has to traverse when installing various software packages. I'm using Visual Studio and...
0
by: Mark Johnson | last post by:
Sometimes Controls that have been added to a GroupBox do not show up. What I am doing : 1) I am not using the designer, but create all the Controls per hand: groupBoxProdukt_01 = new...
0
by: Renee | last post by:
Hi there, does any one know how to create context sensitive help for Groupbox control with HelpProvider class? I can create context sensitive help for any control easily except for Groupbox. ...
1
by: MikeY | last post by:
I'm trying to find a way for changing the thickness of the groupbox borders. I've searched on this site but can't seem to find anything of this subject. Does anyone have a suggestion. Thanks in...
5
by: Minfu Lu | last post by:
There are no public events such as mouse down, mouse move and mouse up for GroupBox in C#. It is possible to move a GroupBox programmably inC#? Thanks Minfu
2
by: Charles Law | last post by:
I want a set of controls that all have a border, like a group box. I thought I would create a base control containing just a group box from which my set of controls could inherit. Assuming that...
4
by: TJS | last post by:
I get this error at time of compiling my class code what's missing ?? =================== error ============================= Me.groupBox1 = New GroupBox ~~~~~~~~~~~~~ C:\Documents and...
8
by: johnmmcparland | last post by:
Hi all, my program is trying to add group boxes with radio buttons at run time. While at one point it was able to draw the group boxes without the radio buttons, now it encounters problems just...
8
by: Steve | last post by:
Hi All Is there a way to change the colour of a Groupbox border in VB.net 2005 I want to change it to white Can it be done in the onpaint event? Regards Steve
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
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: 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
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,...
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.