473,653 Members | 3,000 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Setting Tab Index between Panels

Ben
Hi

We have a number of Panels on our windows form, we have controls inside and
outside of the panels.

I am having problems tabbing between controls, it appers to be when the
controls are within panels: It will tab though the controls outside the
panels and then, tab into the panels.

I have also tried setting the tab index at design time.

Any advice would be much appreciated

Thanks
B
Dec 6 '06 #1
1 4777
Lee
Ben:

The Form and the Panels are both containers and each have their own
TabIndex's (and they may overlap).

AFAIK, when tabbing thru a container, first the controls directly on
the container are tabbed thru and then containers within the original
container are tabbed thru; and this process continues thu the
inner-most container.

In your case that means that first the controls on the Form are tabbed
thru and then controls within the Panels.

You will need to set focus programmaticall y if you need something
different.

--
// Lee Silver
// Information Concepts Inc.

Ben wrote:
Hi

We have a number of Panels on our windows form, we have controls inside and
outside of the panels.

I am having problems tabbing between controls, it appers to be when the
controls are within panels: It will tab though the controls outside the
panels and then, tab into the panels.

I have also tried setting the tab index at design time.

Any advice would be much appreciated

Thanks
B
Dec 6 '06 #2

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

Similar topics

10
3681
by: Andrew Dalke | last post by:
Is there an author index for the new version of the Python cookbook? As a contributor I got my comp version delivered today and my ego wanted some gratification. I couldn't find my entries. Andrew dalke@dalkescientific.com
4
8095
by: BBM | last post by:
I'm trying to set up a form with two panels divided by a Splitter control. I can make the Splitter work in the situations described in the documentation (Listbox or TreeView on left w/Dock set to Left, Panel on right of form w/ Dock set to Fill, Splitter between them set w/ Dock set to Left. Works as advertised. But... if I change to have two panels on the form one on the left with Dock set to Left, a panel on the right with Dock set to...
1
1983
by: AndrewDucker | last post by:
I've just started working with some people that have an odd setup and I'm wondering if someone can point out a better way of doing things (or what I'm doing wrong). They have a base form class, derived from the standard Form, but with the ability to show a list of panels in order. Each of these panels is a subclass of a subclass of Panel. The initial subclass is tweaked to work with the special form and then each subclass of that is...
4
1506
by: Chris Ruegsegger | last post by:
I have a registration type page that asks a series of questions but does so using Panels to display only a couple at a time. I have a Next and Back button on each panel for navigation purposes. Some of the next buttons have Validation enabled for input checking. SmartNavigation is set to True. If I proceed a few Panels in to the registration and try to backup using a Back button I get a script debug error from IE stating a value is...
3
1842
by: tshad | last post by:
Is there a way to stop the system from setting the SelectedIndex of a dropdownlist to 0? I have it set at -1 in my code and if I push a button (that does nothing in my test), during PostBack it will be set to 0. I know that when I initially bind it from a table, it will set the SelectedIndex to 0. I then have to procedurally set it to a -1. But then if I push a button that does nothing, it will reset it list to 0, if it isn't set to...
2
1272
by: SJ | last post by:
Hi, i'm trying to use codebehind to setup my dropdowns. myWebFile.aspx has the following code : <asp:DropDownList id=test runat=server /> <asp:DropDownList id=test2 runat=server /> And i'm defining the ListItems like this in codebehind:
3
1243
by: Woody Splawn | last post by:
For reasons I have not yet identified my Help, Search and Help, Index has quit working. That is, in the VB IDE, from the Help menu, I can select Dynamic help or Contents and things work as expected. But when I select Index or Search, the tabs appear but when I click on the Search or Index tab nothing happens. Anyone have any idea what's going on?
1
2430
by: Ronchese | last post by:
Hi All, I 'm doing a form that have two dockable panels, one at top and other at left (for sample). The user can double-clicks the panels and they become floating, which double-clicked again, come back to dock. The problem is, according with the re-dock order, the panels accommodate themselves in different forms. I need the panels
2
1248
by: arti | last post by:
In Asp.net form, I have 3 panels. I want a button on top of each panel to hide or display the panel. I am able to do it. But when there is any postback, the page loads with its design time setting- all panels are visible=false. On each panel I have a submit button and asp.net List with autoPostBack=True. So the form will postback to server. I want that if a panel was open at the time of postback, it should be open at page reload. Pl help!
0
8811
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8704
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
7302
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6160
isladogs
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5620
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4291
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2707
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1914
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1591
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.