|
-
Mar 27th, 2003, 02:58 AM
#1
Thread Starter
Lively Member
Drag & Drop in modal forms
I have a form which has a treeview in it.
The user can copy data from this treeview by using drag & drop. In recent times I called the form not modal (form.show()). Yesterday I opened it modal (form.showdialog()) and now it seems that drag & drop does not work. Is drag & drop not possible in modal forms or may there be anything else wrong?
Thx.
-
Mar 27th, 2003, 12:41 PM
#2
Frenzied Member
I just tried what you described, and drag and drop works within the modal form.
Are you dragging data from your modal form and trying to drop within the same form or outside of it?
-
Mar 28th, 2003, 01:57 AM
#3
Thread Starter
Lively Member
Indeed I want to drop it outside of it.
But even the cursor (e.g. "no" because dropping isn't allowed within my form) doesn't occur.
-
Mar 28th, 2003, 10:23 AM
#4
Frenzied Member
I'd have to try it, but it makes sense to me that you should not be able to drop outside of a modal form. After all, it is modal.
Perhaps there's a different approach to accomplish your desired behaviour. Why would you *need* to drag something out of a modal form?
-
Mar 28th, 2003, 10:27 AM
#5
Thread Starter
Lively Member
It's a little bit complicated to explain, but I'll try.
As you perhaps know I am devloping an AddIn for Word. Here everything works fine, therefore I don't say more about it.
But I have an EXE, too, which starts word and then uses my procedures of that AddIn. And that only works if I open my forms modal. One functionality of the AddIn is that you can copy data of a treeview into the active document by using drag'n'drop.
That's it....
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|