473,569 Members | 2,701 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

TabOrder changing randomly on tab control

Hi

I stumbled over a strange problem in A2K concerning the Tab Order of 60
textboxes placed on a tab control: whenever I change the TabIndex of any
one of these textboxes the other 59 change there TabIndex RANDOMLY (I do
know about the renumbering mechanism, that supports you to arrange the
TabOrder).

Using Auto Order works, but this arranges the text boxes first priority in
a L->R order, while I need them T->B

Using cut/paste and moving the textboxes to the main form makes this
strange behaviour disapear. This means, I can arrange them on the main
from in the order I want. But as soon as cut/paste them back to the tab
control they get arrangend randomly again.

I even wrote a some basic code to do the needed sorting. It works fine
when I place the textboxes on the main form, but a soon as the text boxex
are situated on the tab control they show the random beaviour again.

I decomiled and compacted the database. No improvement.

I exported the form to an other database, renamed the original and
reimported the form. No improvement.

Any idea how I can solve this problem?

Walt
P.S.
My next idea: 'transpose' the textboxes with code (L->R becomes T->B; T->B
becomes L->R), apply AutoOrder, and transpose back to the original
location again.
But I hope someone knows the reason and a faster fix for this problem...
Nov 13 '05 #1
2 2218
What is the matter with using View-->tab Order on the menu bar

Phil

"Walti" <te***********@ cybernet.ch> wrote in message
news:op******** ******@news.cyb ernet.ch...
Hi

I stumbled over a strange problem in A2K concerning the Tab Order of 60
textboxes placed on a tab control: whenever I change the TabIndex of any
one of these textboxes the other 59 change there TabIndex RANDOMLY (I do
know about the renumbering mechanism, that supports you to arrange the
TabOrder).

Using Auto Order works, but this arranges the text boxes first priority in
a L->R order, while I need them T->B

Using cut/paste and moving the textboxes to the main form makes this
strange behaviour disapear. This means, I can arrange them on the main
from in the order I want. But as soon as cut/paste them back to the tab
control they get arrangend randomly again.

I even wrote a some basic code to do the needed sorting. It works fine
when I place the textboxes on the main form, but a soon as the text boxex
are situated on the tab control they show the random beaviour again.

I decomiled and compacted the database. No improvement.

I exported the form to an other database, renamed the original and
reimported the form. No improvement.

Any idea how I can solve this problem?

Walt
P.S.
My next idea: 'transpose' the textboxes with code (L->R becomes T->B; T->B
becomes L->R), apply AutoOrder, and transpose back to the original
location again.
But I hope someone knows the reason and a faster fix for this problem...

Nov 13 '05 #2
Hi Phil

Thanks for your advice. I was so deep in my ideas, that I forgot to
mention the obvious. Yes, it is possible to change the Tab Order by means
of View-->Tab Order. And to be complete, it is not possible by entering
numbers into the fields properties.

However with 60 fields it's quite time consuming. If I do need to redo
htis again, it would be great top have it done by code. I hoped someone
would know a workaround to solve the problem.

Thanks, Walt
On Tue, 4 Jan 2005 22:31:20 -0000, Phil Stanton
<di********@sta ntonfamily.co.u k> wrote:
What is the matter with using View-->tab Order on the menu bar

Phil

"Walti" <te***********@ cybernet.ch> wrote in message
news:op******** ******@news.cyb ernet.ch...

Nov 13 '05 #3

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

Similar topics

2
5604
by: James M. | last post by:
I have 2x Front-end Web servers (Win2003 Ent IIS6.0), setup with NLB (single Affinity, also using SQLServer session state) that are hosting a few .NET ASP web applications under the Default Website in IIS, and accessing via a Intranet LAN (this is not publicly available). NETWEB1: NIC1 172.16.17.220 172.16.17.244 (NLB Virtual IP) NIC2 ...
2
2241
by: kea | last post by:
I have a checkbox and a textbox in a continuous taborder on a form along with a bunch of other controls. The textbox is disabled. When I leave the checkbox I want to enable the textbox and move the focus to it (only if the checkbox.checked=true). So on the checkbox Leave-event i do the following: if checkbox.checked=true then...
2
1240
by: brian | last post by:
I am new to .net technology. I have a home page built for my company using asp.net. On the bottom of the home page I want to embed a "dilbert comic strip" which is gif format. I have the strips in the directory c:/dilbert/"then by year for sub directories". I would like to have the page change the picture randomly like every 3 hours or...
0
1508
by: James M via .NET 247 | last post by:
(I have 2x Front-end Web servers (Win2003 Ent IIS6.0), setup withNLB (single Affinity, also using SQLServer session state) thatare hosting a few .NET ASP web applications under the DefaultWebsite in IIS, and accessing via a Intranet LAN (this is notpublicly available). NETWEB1: NIC1 172.16.17.220 172.16.17.244 (NLB Virtual IP) NIC2 ...
1
1342
by: fh | last post by:
Hello, I use some web user control in my page I changed some button defintion from protected to public so that I can register their click on the main page... but sort of randomly I receive the compilation message saying that I can't access the button because....
4
2121
by: kpg | last post by:
After an autopostback event the control that gets focus next is not the one defined in the taborder, but the first control. This makes sense becuase the page is reloaded, but of course this is not the desired behaviour. I have seen the use of a hidden field, which stores the name of the control that should get focus next, being set in the...
2
1714
by: Hans Kesting | last post by:
Hi, Navigating with "tab" and "shift-tab" between textbox and radiobutton has sometimes some strange results. Some example fields: - several textboxes (say: tb1, tb2) - some radiobuttons (rb3, rb4, rb5) - again some textboxes (tb6, tb7)
0
969
by: Jonathan Wood | last post by:
I had the strangest thing happen yesterday. I was playing with the EnableViewState property for some table controls, ran my Web project to the page I was working on, clicked a button that performed a postback and refresh of the page, and suddenly all my formatting was very messed up, for every page. Even my login page, which uses the...
6
11015
by: HristiyanVasilev | last post by:
Hello there ! I'm developing a Windows appliciation that involves so called "Transparent Controls". As you would probably know, the only ( as far as i know ) way to achieve a fully transparent control in C# is to add the so called "Transparent style" to your control ("WS_EX_TRANSPARENT"). There are numerous articles how to achieve this and the...
0
7697
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
1
7672
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
1
5512
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...
0
5219
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...
0
3653
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3640
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2113
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
1212
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
937
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...

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.