Ways to set short cut keys for controls on a windows forms application(nirandas.com)

submitted by redcapredcap(420) 3 years, 9 months ago

Setting short cut keys for menus, buttons etc are very easy in the .net framework, you just have to set the ShortCut property for menu items. And for buttons etc, you can indicate the access key to be used for the control by putting a & sign just before the letter which should be used as the access key like, setting the text of the button control to “&Open” would set the shortcut key “Alt+O” for the button. However, if you want use other key combinations for the shortcut keys like Ctrl+a, Ctrl+F10 etc, for any controls other than menus or if you want to provide shortcut keys for textbox, you can’t simply set any property or use the & sign to indicate it.

add a comment |category: |Views: 78

tags: another

new Add a live kick counter to your blog >> liveImage

You can even customize the image by choosing your own colors, and then clicking the button below to update the preview and the html code:

  • "Kick It" text
  • "Kick It" background
  • kick count text
  • kick count background
  • border

Simply copy and paste this HTML into your blog post.


Users who kicked this story:
Comments:

No comments so far

information Login or create an account to comment on this story