Hi,
I'm using an EditableListTreeView ( created by Chris Uppal ) in a persistent shell that was written under the framework of ReStore/MyODBC/MySQL, to manage hierarchial data objects. It worked fine, showing good automatic integration as SSW EditableListView does by the same working mechanism. However, I noticed that the view lost its ability for Drag&Drop, no matter I set those functions enabled in VC ( my program worked normally before in using Drag&drop by the default tree view). Are others experiencing this condition, too? ( Maybe I'm relatively amateur and not skilled at the stuff so far) If my program is correct, then I supposed there are two posibilities, it is inevitable due to the control or there is a fix for it. Best regards. Tk Kuo |
kuo wrote:
> I'm using an EditableListTreeView ( created by Chris Uppal ) in a > persistent shell that was written under the framework of > ReStore/MyODBC/MySQL, to manage hierarchial data objects. > > It worked fine, showing good automatic integration as SSW > EditableListView does by the same working mechanism. > > However, I noticed that the view lost its ability for Drag&Drop, no > matter I set those functions enabled in VC ( my program worked > normally before in using Drag&drop by the default tree view). Can you let me know in what way it failed, please. Do you mean that you just can't start a D&D operation, or that it causes some kind of error ? Also, can you D&D /to/ the tree (assuming that makes sense in your application) ? Lastly, can you confirm that D&D did work with a normal ELV (not a tree) ? I seem to remember that ELV didn't support D&D at the time when John and I created the LTV/ELV hybrid. I may be wrong, but whatever, if ELV currently supports D&D, then I'd like ELTV to do so too (if possible). Sorry about all the questions, but it's a little tricky to set up D&D testing, and you already have the answers, so it's easier (for me ;-) just to ask. The "vanilla" ListTreeView supports D&D OK (well, it is supposed to, and it seems to work for me so far), so I'm not doing anything special to turn-off D&D. I'd /hope/ that it would "just work" with ELV, but apparently not... One thing that occurs to me, is that even if it /did/ work, there wouldn't be much of each row that you could click on to start a D&D (dropping should be OK). The "body" of the row will interpret mouse clicks as edit operations, and the space to the left of the row and the "little box" will interpret mouse clicks as expanding/contracting the tree. So the only place that's left is the row's icon (if it has one -- do you use row icons ?). Off the top of my head, I'm not sure what should happen with right mouse-clicks, or with clicks over per-column icons. -- chris |
Hi chris,
Posted my program and packages in my ftp site. Waiting for your kind help. Best regards. Tk Kuo On Sat, 4 Sep 2004 10:35:14 +0100, "Chris Uppal" <[hidden email]> wrote: >Can you let me know in what way it failed, please. > >Do you mean that you just can't start a D&D operation, or that it causes some >kind of error ? > >Also, can you D&D /to/ the tree (assuming that makes sense in your application) >? > >Lastly, can you confirm that D&D did work with a normal ELV (not a tree) ? I >seem to remember that ELV didn't support D&D at the time when John and I >created the LTV/ELV hybrid. I may be wrong, but whatever, if ELV currently >supports D&D, then I'd like ELTV to do so too (if possible). > >Sorry about all the questions, but it's a little tricky to set up D&D testing, >and you already have the answers, so it's easier (for me ;-) just to ask. > >The "vanilla" ListTreeView supports D&D OK (well, it is supposed to, and it >seems to work for me so far), so I'm not doing anything special to turn-off >D&D. I'd /hope/ that it would "just work" with ELV, but apparently not... > >One thing that occurs to me, is that even if it /did/ work, there wouldn't be >much of each row that you could click on to start a D&D (dropping should be >OK). The "body" of the row will interpret mouse clicks as edit operations, and >the space to the left of the row and the "little box" will interpret mouse >clicks as expanding/contracting the tree. So the only place that's left is the >row's icon (if it has one -- do you use row icons ?). Off the top of my head, >I'm not sure what should happen with right mouse-clicks, or with clicks over >per-column icons. > > -- chris > |
Free forum by Nabble | Edit this page |