In MSDN I saw this.But I can't Understand ,Can anyone Explain me Clearly what is the use.
Gets or sets a value that indicates whether a control is included in tab navigation.
Tabbing through a form is ordered based on an explicit TabIndex setting or an implicit TabIndex based on the Page hierarchy. This way you can make sure data entry is fluid - like the user can Tab from City to State to Zip and NOT from Zip to City to State.
TabIndex is completely meant to make the usability of data entry fields more friendly. In many ways TabIndex helps drive the workflow of your form without explicitly telling the end user. It's very nice but can be very tedious on large forms. Many developers don't bother. They suck. IMHO
IsTabStop is a kind of on off for the Tab functionality. When set to true (the default) the user will continue to Tab through your form like normal. When set to false the user will Tab through your form, but that control will be skipped.
It is important to note that removing a control from the Tab order is only a convenience and in no way protects the control from manually being entered through a mouse's click or a finger's tap.
In a way IsHitTarget is like IsTabStop. But that's for another question ;)
Does what it says on the tin
If you had say three edit boxes and the middle one was display only, you could set tabstop to false on it then Tab from the first would jump to the third. Given the tab order was correct of course.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With