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
    • Unread
    • Recent
    • Tags
    • Users
    • Login

    EditSlider in resource

    SDK Help
    0
    6
    392
    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
      Helper
      last edited by

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

      On 21/08/2004 at 11:00, xxxxxxxx wrote:

      User Information:
      Cinema 4D Version:   8.206 
      Platform:      
      Language(s) :     C++  ;

      ---------
      Hi,

      I want to include an Edit Slider widget in the AM of my ObjectData plugin. Looking at the SDK docs it gives this example:

      EDITNUMBERARROWS MY_ARROWS_FIELD_ID { SIZE 100,0; SCALE_H; }

      Using this causes an error when the AM shows on that line. It also happens with SLIDER. And yes I have that ID declared, just incase you ask.

      Whats the problem?

      Thanks

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

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

        On 22/08/2004 at 17:29, xxxxxxxx wrote:

        100,0 = 100.0

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

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

          On 23/08/2004 at 02:15, xxxxxxxx wrote:

          Thanks for the reply but even with 100.0, it still errors (infact that what I originally tried).

          What I currently have is
          REAL IDC_PERCENT { MIN 0.0; MAX 100.0; STEP 1; UNIT PERCENT; };

          All I want to do is turn that into a slider as default, so surely this would work..
          EDITSLIDER IDC_PERCENT { SIZE 100.0; SCALE_H; }

          but it doesn't

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

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

            On 23/08/2004 at 07:08, xxxxxxxx wrote:

            Oh this is in a description resource?! Well then it won´t work of course 🙂 The slider is a customgui, so just add REAL IDC_PERCENT { MIN 0.0; MAX 100.0; STEP 1; UNIT PERCENT; CUSTOMGUI REALSLIDER}

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

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

              On 23/08/2004 at 09:06, xxxxxxxx wrote:

              Just for the record, "100,0" is certainly a valid SIZE for dialog resources. It means 100 pixels wide and default height.

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

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

                On 23/08/2004 at 14:47, xxxxxxxx wrote:

                Thank you, finally got it to work.

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