Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware API
      • ZBrush Python API
      • ZBrush GoZ API
      • Code Examples on Github
    • Forum
    • Downloads
    • Support
      • Support Procedures
      • Registered Developer Program
      • Plugin IDs
      • Contact Us
    • Categories
      • Overview
      • News & Information
      • Cinema 4D SDK Support
      • Cineware SDK Support
      • ZBrush 4D SDK Support
      • Bugs
      • General Talk
    • Recent
    • Tags
    • Users
    • Login

    Slider min/max

    Scheduled Pinned Locked Moved SDK Help
    5 Posts 0 Posters 428 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • H Offline
      Helper
      last edited by

      THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

      On 30/08/2008 at 14:19, xxxxxxxx wrote:

      User Information:
      Cinema 4D Version:   r10.1 
      Platform:   Windows  ;   
      Language(s) :   C.O.F.F.E.E  ;

      ---------
      hi there, again:)
      i've got my first dialog to work, now, how can i set the min and max values for a slider, so that it moves for example between 1 and 100 in 0.1 steps?

      thanks in advance,
      ello

      1 Reply Last reply Reply Quote 0
      • H Offline
        Helper
        last edited by

        THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

        On 30/08/2008 at 14:22, xxxxxxxx wrote:

        oh, found it... sometimes asking brings the answers
        SetInt(...) and such

        cool 🙂

        1 Reply Last reply Reply Quote 0
        • H Offline
          Helper
          last edited by

          THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

          On 30/08/2008 at 14:49, xxxxxxxx wrote:

          ok, but now i've got another problem..
          how can i set the value of a slider from another function?
          say i have such a slider:

          ...
          AddStaticText(0,BFH_LEFT,0,0,cS7,0);
          AddEditSlider(eSlider7,BFH_SCALEFIT,100,0);
          SetInt(eSlider7,1,1,10000,1);
          ...

          and i want to set eSlider7 to 200 ?

          1 Reply Last reply Reply Quote 0
          • H Offline
            Helper
            last edited by

            THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

            On 30/08/2008 at 15:59, xxxxxxxx wrote:

            Should be the same in any dialog class method. If you need to set it from another class for some reason, add a method to the dialog class which sets this field and call that.

            MyDialog::SetSlider7(var val)
            {
            SetInt(eSlider7,val,1,1000,1);
            }

            1 Reply Last reply Reply Quote 0
            • H Offline
              Helper
              last edited by

              THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

              On 30/08/2008 at 16:05, xxxxxxxx wrote:

              thank you! just found it

              1 Reply Last reply Reply Quote 0
              • First post
                Last post