In the mail database, it’s possible to drag and drop document from Inbox or Sent view to the follow view.How is it possible because the follow view is a view, not a folder…
And it doesn’t work with the sent view for example.
Thanks
In the mail database, it’s possible to drag and drop document from Inbox or Sent view to the follow view.How is it possible because the follow view is a view, not a folder…
And it doesn’t work with the sent view for example.
Thanks
Subject: I cant Drag and drop into Followup view
at least in version 6.5.4
IF by drag and drop you mean
Clcik and Hold in view
drag to left until over follow Up below the sent
Subject: RE: I cant Drag and drop into Followup view
When my mouse pointer is over the follow up view during a drag and drop, it changes to a plus symbol. But over the sent view, it’s a “not allowed” symbol.Don’t you ?
What I want to know is how is it possible in the design of the mail database ?
Subject: the cursors are different for me
dragging from one folder
onto both sent and followup produce a Circle and “bar sinester”
while onto anther older shows as a rectangle (double dotted line)
if you actally attempt a Drag and Drop does it work?
Could it just be that your “cursor” is lying?
Subject: How to do that on a view
Yes, it works fine for me.When I drag and drop into the trash (which is the ($SoftDeletions) view for me), it works too.
I want to reproduce this on a view in another application. No problem to do that on a folder because the event is catched into the querydragdrop event and the mouse pointer is a rectangle automatically.
How can I do that on a view ?
Thanks.
Subject: RE: How to do that on a view
You can’t drag things into views. Views contain docs based on the selection formula and that’s what puts things in views.
Subject: RE: How to do that on a view
I know views are based on selection formula.I just want to change some fields in documents in the postdragdrop event to match with the selection formula.
But querydragdrop and postdragdrop on a view don’t be launched in the views of my application (a “not allowed” icon appears when my mouse pointer is over the view in the outline).
It’s possible because we can do that in the mail database (into $SoftDeletions and $FollowUp views).
Thanks
Subject: if it works for you, then your place is where to start
First, I have one question:
what version are you using? my R6.5 doesn’t do this for Followup or Deleted
and one suggestion:
take a look at the design. especially of the views/folders in question compared to others for which d&d does not work
are there design elements that might achieve this effect.
Working from first principles:
one f the methods that I might try if I had to make d&d work on a view is
I would put code in the UIViw QueryDragandDrop that
stopped the d&d but also
changed the items on dragged document(s) to match that of the view anyway
Of course that would work best if the Selection formula was simple
which I suspect it must be for Followup and Soft Deletes
Let us know how you get on
Subject: RE: if it works for you, then your place is where to start
I’ve tried to put Continue = True in querydragdrop and postdragdrop of both database and view events. But a “not allowed” icon always appears when my mouse pointer is over the view in the outline.
I can’t trap this event for a view…
In the mail database (StdR6Mail), i don’t see anything in the views design where d&d works.
Thanks
Subject: QueryDragandDrop works in CALENDAR views only
Note the following from Designer help
Occurs just before a drag and drop operation in a calendar view.
Defined in
NotesUIView class
Syntax
QueryDragDrop(Source As Notesuiview, Continue As Variant)
Parameters
Source
NotesUIView. Read-only. The current view.
Continue
Boolean. Read-write. Indicates whether or not the drag and drop operation proceeds. Set this parameter to False if you do not want the operation to proceed.
Usage
The event in the source folder, not the destination folder, executes when an object is selected to drag.
When you create a script that responds to this event, Notes creates the syntax of the event for you (including the parameters). You do not need to type it in.
so I would expect only the Database event to be triggered
However what puzzles me is that I also have a mail file that thinks it is StdR6Mail
and I still cant drag and drop into the “Followup” option on the lefthand outline
Nor would I expect to be able to …since that is a normal view
(.e. Standard Outline not Calendar selected on first tab of the view properties)
and normal views dont support D&D event
ODD …I’m sorry but I cant even think of what to try next