Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware 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

    Implementing a simple list

    PYTHON Development
    0
    23
    14.2k
    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

      On 30/05/2013 at 02:42, xxxxxxxx wrote:

      But the current GetMinSize() implementation does not calculate the height based on the number
      of elements. 🙂

      http://pastebin.com/Jz2yPqK8

      But I see it is a bit buggy, I don't know why actually. While the background is drawn correctly, the
      text is not.. Not sure where this comes from, maybe you can figure it out.

      -Nik

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

        On 30/05/2013 at 03:29, xxxxxxxx wrote:

        Actually, it is working but the userarea is not refreshing correctly when I scroll down and back up again.
        I should be able to intercept a message that tells me that the scrollgroup changed and refresh the userarea when that happens.
        But I don't know how 😞

        Rui Batista

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

          On 30/05/2013 at 03:46, xxxxxxxx wrote:

          I'm trying to detect that the scrollgroup is being dragged with msg[c4d.BFM_ACTION_INDRAG]

          but when I use this code:

          def Message(self, msg, result) :
              dragging=msg[c4d.BFM_ACTION_INDRAG]
              return GeDialog.Message(self, msg, result)

          I get a crash while starting up Cinema4D.

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