Control layering and tab order messing with eachother in a tab control..

XelaIrodavlas

Registered User.
Local time
Today, 21:38
Joined
Oct 26, 2012
Messages
175
Hi all,

I've encountered a strange issue on a form with a tab control and I can't figure it out. I have two/three overlapping fields (see attached example) and am trying to set the tab order so you hit one before the other, however when I do this it seems to affect the layering in terms of which one sits on top of the other.

So atm it seems if I want Control2 to sit on top of Control1, it gives Control2 the tab order of 0 and Control 1 tab order 1. But if I want the tab order to switch (Ctrl1=0, Ctrl2=1) then it flips the layering so that control 1 sits on top of control 2! its a nightmare...

It's very convoluted and difficult to explain (hence the attachment), but surely the bottom line is the layering and tab order shouldn't have anything to do with eachother?

Weirdly, this only seems to be an issue when using controls inside a Tab Control (example2), anywhere else works fine (example1).

Any help/advice/thoughts would be much appreciated, though at this point i'm thinking I'll just can the tab control all together :)

Thanks in advance,
Alex S
 

Attachments

ps. the way I left example 2 it may look normal, but keep clicking tab! you'll see it doesn't cycle through all controls anymore...
 
Do you mean a Navigation Control?
 
set the tab stop property of text70 to no.
 
your welcome. happy coding.
 

Users who are viewing this thread

Back
Top Bottom