preventing the label from getting focus?

  • Thread starter Thread starter giddy
  • Start date Start date
G

giddy

hi ,

I have a groupbox with labels and textboxes , just like a regular
form.

I've set the tabindex for each consecutive textbox to tabindex of the
prior textbox +1. The labels have high indexes , but they still
recieve focus after every textbox Is there any way to prevent this?

Thanks
Gideon
 
hi ,

I have a groupbox with labels and textboxes , just like a regular
form.

I've set the tabindex for each consecutive textbox to tabindex of the
prior textbox +1. The labels have high indexes , but they still
recieve focus after every textbox Is there any way to prevent this?

Thanks
Gideon

Hi Gideon,

Labels do not normally accept focus, but you can ensure they can't be tabbed to by setting Label.TabStop = false, which is the default value, but I suspect you somehow has enabled it.
 
Back
Top