How can I allow ctrl+a with TextBox in winform?

后端 未结 9 2462
春和景丽
春和景丽 2020-12-15 02:38

I\'m asking the question already asked (and even answered) here: Why are some textboxes not accepting Control + A shortcut to select all by default

But that answer d

9条回答
  •  情话喂你
    2020-12-15 02:51

    This happened to me once too, I'm assuming you removed the call for Application.EnableVisualStyles(); from your program? Add it back to the Main() function and everything should work fine.

提交回复
热议问题