Results 1 to 5 of 5

Thread: Numeric UpDown ????

  1. #1

    Thread Starter
    Frenzied Member dinosaur_uk's Avatar
    Join Date
    Sep 2004
    Location
    Jurassic Park
    Posts
    1,098

    Resolved Numeric UpDown ????

    Hi There,

    I have created a simple application in my pocketpc (iPaq) and it had numeric updown buttons. I need to change the increments to 0.1 but it does not work?

    Any ideas will be appreciated greatly!!!
    Last edited by dinosaur_uk; Mar 30th, 2005 at 08:34 AM.

  2. #2
    Fanatic Member Strider's Avatar
    Join Date
    Sep 2004
    Location
    Dublin, Ireland
    Posts
    612

    Re: Numeric UpDown ????

    what do you mean by numeric up down buttons???

    Do you need to increment a value each time a button is pressed??


    VB Code:
    1. Dim aVal as double = 0
    Inside the key_press event
    VB Code:
    1. aVal += 0.1
    Barry


    Visual Studio .NET 2008/Visual Studio .NET 2005/Visual Studio .NET 2003
    .NET Framework 3.0 2.0 1.1/ASP.Net 3.0 2.0 1.1/Compact Framework 1.0

    SQL Server 2005/2000/SQL Server CE 2.0


    If you like, rate this post

    Compact Framework for Beginners

  3. #3

    Thread Starter
    Frenzied Member dinosaur_uk's Avatar
    Join Date
    Sep 2004
    Location
    Jurassic Park
    Posts
    1,098

    Re: Numeric UpDown ????

    If you add a NumericUpDown control, it has a "increment" property, if you set this increment to 0.1 it does not work???

  4. #4
    Fanatic Member Strider's Avatar
    Join Date
    Sep 2004
    Location
    Dublin, Ireland
    Posts
    612

    Re: Numeric UpDown ????

    Decimal dont seem to work with it. Why dont you just use a textbox and have a plus and minus button beside it and just increment the value in the box???
    Barry


    Visual Studio .NET 2008/Visual Studio .NET 2005/Visual Studio .NET 2003
    .NET Framework 3.0 2.0 1.1/ASP.Net 3.0 2.0 1.1/Compact Framework 1.0

    SQL Server 2005/2000/SQL Server CE 2.0


    If you like, rate this post

    Compact Framework for Beginners

  5. #5

    Thread Starter
    Frenzied Member dinosaur_uk's Avatar
    Join Date
    Sep 2004
    Location
    Jurassic Park
    Posts
    1,098

    Re: Numeric UpDown ????

    Why does the decimals not work in it?

    Anyways ...thanks for the idea!!! i think i might use that...

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