-
Jan 24th, 2020, 12:56 AM
#1
Thread Starter
New Member
-
Jan 24th, 2020, 03:01 AM
#2
Re: Tab Index of form controls not working as expected
Are some of your controls inside containers, because that affects the Tab order, e.g. a TextBox with a TabIndex of 2 inside a Panel with a TabIndex of 0 will be visited before a TextBox on the form with a TabIndex of 1. Can you take a screenshot of your form with all TabIndexes showing?
Also, keep in mind that the Tab order relates ONLY to the order in which controls receive focus when pressing the Tab key (or when calling SelectNextControl). If you're talking about the order they are accessed from the Controls collection of their parent then that is related to the z-order, not the Tab order. You can see and change the z-order in the Document Outline tool window.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|