Search code examples
winformsbuttoncompact-frameworktab-ordering

omit contol from the tabbing order


There are Windows Form with some text controls and button. User with TAB and Enter can focus next element. Button should be skipped.

How can I omit Windows Forms Control (OpennetCF Button2) from the tabbing order?


Solution

  • You just set its TabStop property to false

    button1.TabStop = false;