c# - Buttons Are Automatically Selected (how to turn this off?) -


i have winform buttons when load form, button selected. mean selected, if "enter" pressed, button pressed.

how can change buttons don't anymore?

your tab order set in order in add controls on form. if first control can pressed/selected/edited button getting pressed, focus automatically on when form loaded.

you can cheat setting focus other control (maybe not visible? !hint * hint!) avoid button selected @ first.

but make sure tht button not acceptbutton of form.


Comments

Popular posts from this blog

ASP.NET/SQL find the element ID and update database -

jquery - appear modal windows bottom -

c++ - Compiling static TagLib 1.6.3 libraries for Windows -