On 27/08/2015 at 08:39, xxxxxxxx wrote:
Cinema 4D Version: R16
Platform: Mac ;
Language(s) : C++ ;
Hello, I'm trying to figure out a way to move GeDialog elements around with Drag and Drop functionality. Using the asynctest example I've been trying to make it so I could rearrange the groups within a ScrollGroup with clicking and dragging an element from within it over another one.
Such as clicking "Rows 1" and dragging it down to "Rows 2" and swapping the place of the two of them. But I can't seem to find any gui element that can be dragged within a GeDialog. Is there such an element that I missed? I know I could do this with buttons but Drag and Drop seems a cleaner solution.
Thanks for any possible help,
On 28/08/2015 at 02:30, xxxxxxxx wrote:
dragging GUI elements around dialogs is no typical Cineam 4D feature. And I don't think it is possible to do so. You could try to introduce a GeUserArea based custom GUI element that can trigger and catch drag events so you can "drag" this custom element. But I haven't tried that myself.