Results 1 to 5 of 5

Thread: decimal key in numeric keypad

Hybrid View

  1. #1

    Thread Starter
    Junior Member giannopo's Avatar
    Join Date
    Jan 2002
    Location
    Greece
    Posts
    27

    decimal key in numeric keypad

    Hi,

    In numeric keypad the decimal point key is always a dot (.)
    What if I change the regional settings for example to Greek where the decimal point is comma (,)? I get dot(.)

    How can I change that key to send comma or dot , depending the regional settings?
    I know that I can preview the keypress in each form of my application and change the dot to comma but what if I have 16+ applications with 20+ forms.

    Thanks in advance
    elias

  2. #2
    PowerPoster
    Join Date
    Dec 2004
    Posts
    25,618

    Re: decimal key in numeric keypad

    i believe a greek or other keyboard driver for locales that use comma would do it anyway

    Edit: it does, i just changeed my drivers to test
    Last edited by westconn1; Oct 7th, 2006 at 06:36 PM.
    i do my best to test code works before i post it, but sometimes am unable to do so for some reason, and usually say so if this is the case.
    Note code snippets posted are just that and do not include error handling that is required in real world applications, but avoid On Error Resume Next

    dim all variables as required as often i have done so elsewhere in my code but only posted the relevant part

    come back and mark your original post as resolved if your problem is fixed
    pete

  3. #3

    Thread Starter
    Junior Member giannopo's Avatar
    Join Date
    Jan 2002
    Location
    Greece
    Posts
    27

    Re: decimal key in numeric keypad

    Quote Originally Posted by westconn1
    i believe a greek or other keyboard driver for locales that use comma would do it anyway

    Edit: it does, i just changeed my drivers to test

    What do you mean 'keyboard driver'? How can change that?
    elias

  4. #4
    Frenzied Member
    Join Date
    Oct 2003
    Posts
    1,301

    Re: decimal key in numeric keypad

    In regional settings there is also a tab dealing with numbers. (2nd tab)
    There you can set what decimal separator you want to use.

  5. #5

    Thread Starter
    Junior Member giannopo's Avatar
    Join Date
    Jan 2002
    Location
    Greece
    Posts
    27

    Re: decimal key in numeric keypad

    I try to test that but I get the same result.
    I hv change the regional setting in both tabs (Numbers & Currency)

    Decimal symbol: , (comma)
    Digit Grouping symbol: . (dot)

    So the decimal symbol (of the numeric keypad) works correct only in Excel and Calculator.
    I try Word, PPoint, Notepad, Vbasic6 and I get dot (.)
    elias

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