Re: Drag and Drop
Me too! Would like to see drag and drop implemented natively - its a must for mobile uis. (Drag, drop, reorder etc)
Re: Drag and Drop
Just want to confirm about the status of drag and drop feature. Is there any change as of version 2.0.x of NoesisGUI ?
Grepping the SDK and Release Notes didn't give any result of drag/drop related stuffs.
Assuming there is no direct support for Drag/Drop, what is the recommended method to do drag/drop between two NoesisGUI views ?
Grepping the SDK and Release Notes didn't give any result of drag/drop related stuffs.
Assuming there is no direct support for Drag/Drop, what is the recommended method to do drag/drop between two NoesisGUI views ?
-
sfernandez
Site Admin
- Posts: 2984
- Joined:
Re: Drag and Drop
WPF Drag&Drop architecture is not implemented in NoesisGUI 2.0.2. But we have plans to implement it in one of the upcoming versions.Just want to confirm about the status of drag and drop feature. Is there any change as of version 2.0.x of NoesisGUI ?
Grepping the SDK and Release Notes didn't give any result of drag/drop related stuffs.
We have a sample in our Showcase section demonstrating how to implement a basic drag and drop: viewtopic.php?f=12&t=600Assuming there is no direct support for Drag/Drop, what is the recommended method to do drag/drop between two NoesisGUI views ?
When you say two NoesisGUI views, you are talking about 2 system windows too, right? Extending the previous example you can probably build a DragDrop manager that can register the dragged data to be used between windows.
Re: Drag and Drop
I was thinking about drag-and-drop between two windows each with NoesisGUI view on it.When you say two NoesisGUI views, you are talking about 2 system windows too, right? Extending the previous example you can probably build a DragDrop manager that can register the dragged data to be used between windows.
Yes, I think currently I need to implement the Drag-Drop manager myself. Also need to create a popup window that can hover on both of the windows.
Hope that your planned implementation can also handle such scenario.
-
sfernandez
Site Admin
- Posts: 2984
- Joined:
Re: Drag and Drop
Yes, we will investigate how to support that kind of scenario with several windows+views when we fully implement the Drag&Drop architecture.
Re: Drag and Drop
Hi,
There some scenarios that I think you should consider when implementing this.
1. Should be able to drag and drop between Noesis' View and native windows, including the case when the source and target are in different processes (e.g. you should be able to drag and drop text from a browser window into a Noesis' TextBox).
In Windows, this is done using Ole Drag and Drop (I think WPF's implementation wraps around this APIs).
2. Should be able to show Context Menu when an item is dropped (e.g. Drop -> Show Menu -> User selects 'Move Item' from the menu -> Drop done -> Item is removed from Source)
There some scenarios that I think you should consider when implementing this.
1. Should be able to drag and drop between Noesis' View and native windows, including the case when the source and target are in different processes (e.g. you should be able to drag and drop text from a browser window into a Noesis' TextBox).
In Windows, this is done using Ole Drag and Drop (I think WPF's implementation wraps around this APIs).
2. Should be able to show Context Menu when an item is dropped (e.g. Drop -> Show Menu -> User selects 'Move Item' from the menu -> Drop done -> Item is removed from Source)
-
sfernandez
Site Admin
- Posts: 2984
- Joined:
Re: Drag and Drop
We will take into consideration these points, thanks for your collaboration.
Re: Drag and Drop
Better if you open a ticket about it. Could you do it please? Information is not easy to track in the forums. Thanks!
Re: Drag and Drop
Thanks, I filed the issue here: https://www.noesisengine.com/bugs/view.php?id=1166
Who is online
Users browsing this forum: No registered users and 88 guests