User Tag List

Results 1 to 6 of 6

Thread: Rounding problem for slider bar

  1. #1
    No Products Registered

    Join Date
    May 2007
    Posts
    13
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Rounding problem for slider bar

    Well I am using the slider bar activex control and trying to use a button as a meter bar by adjusting the width. My slider has an min of - and max of 100. I am dividing that value by 100 and then multiplying that decimal by the max width of the button but is not working under 100 percent.

    This
    Round((GetValue( "Microsoft Slider Control 6.0 (SP6)" )/100)*318)

    Is only working at 100 percent everything else does not show. I am sure its a problem with the decimals but I cannot figure it out even after looking at some posts. I have tried it with and without the round command. Can someone here please point out what I am doing wrong ?
    Thanks in advance
    Rage

  2. #2
    No Products Registered

    Join Date
    Aug 2006
    Posts
    984
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Rounding problem for slider bar

    Add .0 to the end of either the 100 or the 318 (maybe both, can't remember)

  3. #3
    No Products Registered

    Join Date
    May 2007
    Posts
    13
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Rounding problem for slider bar

    Perfect that did the trick. Thanks a lot!

  4. #4
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Jul 2006
    Posts
    2,023
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Rounding problem for slider bar

    why use an active X slider ? use the sliderbar object ?

  5. #5
    No Products Registered

    Join Date
    Jul 2006
    Location
    Texas
    Posts
    1,225
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Rounding problem for slider bar

    I think that makes it fit the windows theme, so it won't look like windows 2000 when you have XP.

  6. #6
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Jul 2006
    Posts
    2,023
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Rounding problem for slider bar

    i just made a new MMF 1.5 application, turned on XP theme, inserted the sliderbar object and ran it. It is XP theme

Similar Threads

  1. Rounding Down Counters
    By etrose in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 13th November 2011, 09:41 PM
  2. Rounding Down
    By etrose in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 7th November 2011, 11:32 AM
  3. rounding decimal problem
    By arfa in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 6th December 2010, 02:14 PM
  4. Decimal/rounding problem.
    By The_Alee in forum File Archive
    Replies: 8
    Last Post: 18th November 2007, 09:44 PM
  5. Rounding up/down
    By MechatheSlag in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 17th June 2007, 11:43 AM

Posting Permissions

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