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

    Can we set floating point value to Spin control?

    Dear all,

    Can we set floating point value to spin control?. I want to increase the spin control value with 0.5. is it possible?..
    Regards,
    Kareem


  2. #2
    Join Date
    May 1999
    Location
    Texas, USA
    Posts
    568

    Re: Can we set floating point value to Spin control?

    No not directly to the spin control, but just interpret the number yourself. So if the spin control range is 0 - 100, would result in a range of 0 - 50 for your control. So when a user clicks on the spin control and it is a 53. Then your control would interpret that as 26.5.

    Wayne



  3. #3
    Join Date
    May 1999
    Location
    Oregon, USA
    Posts
    302

    Re: Can we set floating point value to Spin control?


  4. #4
    Join Date
    May 1999
    Posts
    78

    Re: Can we set floating point value to Spin control?

    Yes it is .
    I read somewhere on codeguru an article(a submitted one) with sample code on how to do it.
    Go back and look for it.


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