NumericUpDown Control

This is a discussion on NumericUpDown Control within the C# Programming forums, part of the General Programming Boards category; Hi There I have a problem with this control. Everything works fine as long as I change its value via ...

  1. #1
    Registered User
    Join Date
    Feb 2002
    Posts
    24

    NumericUpDown Control

    Hi There


    I have a problem with this control.

    Everything works fine as long as I change its value via the up/down scroll buttons. But when I change its value manually, the previous value is retauned- the changes are not saved.


    Help!

    Thanks

    Goz
    And if you get no joy from music hall
    Remember there is always alcohol
    And If you get no joy from Gin
    Here is the abyss jump in

  2. #2
    Registered User dragunsflame's Avatar
    Join Date
    Jan 2003
    Posts
    8
    I've never heard of this...of course, I've never used this particular control either.

    What I would do (I don't know if that's good enough or not) is to set up an event handler for the control's TextChanged event. In the handler, use something like

    Code:
    MyUpDownControl.Text = MyUpDownControl.Text;
    Maybe that'll force it to change. I dunno.

  3. #3
    Registered User
    Join Date
    Feb 2002
    Posts
    24

    Upand Down Control

    No, it didn;t do the trick . Maybe I better post it in a VB forum as well, ha? They know their controls don't they...


    Thanks for your help!

    Goz
    And if you get no joy from music hall
    Remember there is always alcohol
    And If you get no joy from Gin
    Here is the abyss jump in

  4. #4
    the hat of redundancy hat nvoigt's Avatar
    Join Date
    Aug 2001
    Location
    Hannover, Germany
    Posts
    3,139
    I never had such problems, could you post a piece of code to demonstrate what you mean ?
    hth
    -nv

    She was so Blonde, she spent 20 minutes looking at the orange juice can because it said "Concentrate."

    When in doubt, read the FAQ.
    Then ask a smart question.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. (Multiline) Edit Control Limit
    By P4R4N01D in forum Windows Programming
    Replies: 9
    Last Post: 05-17-2008, 11:56 AM
  2. line number on a rich edit control
    By rakan in forum Windows Programming
    Replies: 1
    Last Post: 02-18-2008, 06:58 AM
  3. Button handler
    By Nephiroth in forum Windows Programming
    Replies: 8
    Last Post: 03-12-2006, 05:23 AM
  4. very weird .h problem
    By royuco77 in forum C++ Programming
    Replies: 1
    Last Post: 09-11-2005, 07:55 AM
  5. Tab Controls - API
    By -KEN- in forum Windows Programming
    Replies: 7
    Last Post: 06-02-2002, 09:44 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21