Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. HotKey Indicator

HotKey Indicator

Scheduled Pinned Locked Moved C#
4 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    mtone
    wrote on last edited by
    #1

    I have a Winform with a button. The Button Text is set to &RUN. When I open the application the Button does not Display RUN until I hit the Alt key. Is there a way to make this underlined when I open the app. Thanks Joe

    N J N 3 Replies Last reply
    0
    • M mtone

      I have a Winform with a button. The Button Text is set to &RUN. When I open the application the Button does not Display RUN until I hit the Alt key. Is there a way to make this underlined when I open the app. Thanks Joe

      N Offline
      N Offline
      Not Active
      wrote on last edited by
      #2

      That is a windows setting, it can't be changed in you app without effecting the entire system.


      only two letters away from being an asset

      1 Reply Last reply
      0
      • M mtone

        I have a Winform with a button. The Button Text is set to &RUN. When I open the application the Button does not Display RUN until I hit the Alt key. Is there a way to make this underlined when I open the app. Thanks Joe

        J Offline
        J Offline
        John Baird
        wrote on last edited by
        #3

        This sould be a reply..

        1 Reply Last reply
        0
        • M mtone

          I have a Winform with a button. The Button Text is set to &RUN. When I open the application the Button does not Display RUN until I hit the Alt key. Is there a way to make this underlined when I open the app. Thanks Joe

          N Offline
          N Offline
          Nader Elshehabi
          wrote on last edited by
          #4

          Hello There is a workaround the problem, even though it will be a diviation of the standards of windows programming - for example you can show your mainmenu at the bottom of your form, but is that right? Anyway.. Handle the Paint event of your button and use e.Graphics object in the handler to draw the line at the appropriate coordinates.

          Regards:rose:

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups