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

    Drag & drop dialog fields

    Scheduled Pinned Locked Moved PYTHON Development
    3 Posts 0 Posters 227 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

      On 23/08/2014 at 10:08, xxxxxxxx wrote:

      In my dialog I have various text fields in a certain sequence.
      Now I want to be able to change the order of the text fields, by using drag&drop.
      So click one dialog field and then drag it to another place.

      I thought I saw an example on the forum from a long time ago, but I can't find it anymore.

      I also see that the oldest post on this forum is now from feb 2013.
      Are the older ones deleted?

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

        On 25/08/2014 at 15:26, xxxxxxxx wrote:

        Your best bet is probably the TreeView class, but it's not very well document and I haven't had much luck with it. In a similar situation I just added up/down buttons next the the textfield which allows users to reorder, although not as easily as with a drag/drop.

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

          On 26/08/2014 at 08:26, xxxxxxxx wrote:

          I now use the user area which is more flexible then a dialog.

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