CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4
  1. #1
    Join Date
    Jan 2005
    Posts
    74

    Why Access key is not underlined?

    Hi All,

    1) I'd like to make DataGridView's Cell Format to "00:00:00". When deleting all, its format is canceled, i mean we need to type this ":" again ourself. I don't like that. Is there any like MaskTextBox "##:##:##" in DataGridView? Or how to make this format in column's cell? I assign this cell to DateTime.

    2) I get not displaying Button Shortcut at runtime. I mean, I typed Button's Text property "&Add" but at runtime, system not shown "Add"

    Pls share to me.
    Last edited by soclose; July 20th, 2009 at 11:02 PM. Reason: re edit

  2. #2
    Join Date
    Jan 2005
    Posts
    74

    Re:Why Access key is not underlined?

    Hi All,

    I made an access key in button text like "&Add". But at run time, the letter "A" is not underlined. What it happens? I use Visual Studio 2005 running on Window Vista.

    I ran this project on Window xp. It's still not working. Why???

    Pls share to me.

  3. #3
    Join Date
    May 2009
    Location
    Bengaluru, India
    Posts
    460

    Re: How to make DataGridView's cell format to "00:00:00" and Button Shortcut

    1)Try going to properties of the datagridview user control and see if there is any option to set the field type as : : :
    2) try adding the '&' symbol after letter A and see..

  4. #4
    Join Date
    Jan 2005
    Posts
    74

    Re: How to make DataGridView's cell format to "00:00:00" and Button Shortcut

    Hi All,

    I tested my project on Window server 2003. All Access keys are shown. So why not shown on Vista???

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured