There are 2 pasteboards - the docs mention this...

There is the pasteboard = clipboard -- accessible all time EXCEPT 
during drag n drop
There is the pasteboard # clipboard -- accessible ONLY during drag n 
drop

The 2 do not cross.

If you put something on the pasteboard during form events:
On begin drag over
On drag over
On drop

it is NOT available during other form events -- or more importantly -- 
in other processes!

How I found this out - yes it is in the docs, but (at least to me) was 
not clear.
- I have an requisition form, the user drags an item to order from 
another process, and drops it on the requisition form.
- after the drop completes, I want to check to see if the item has 
already been requisitioned, BUT has not yet been ordered.
 -- I (wanted) to pass item information to a separate process to do a 
query and present the user with any open requisitions for the item.
  --- the passing of data was occurring in the On Drop form event, 
after processing the drop had completed. I could NOT figure out why the 
data was not showing up on the pasteboard in the query process... many 
hours later....
  --- The data i was trying to pass into the query process was on the 
Drag N Drop pasteboard, and not on the 'general' pasteboard!!!!  so the 
query process could not see it...

hope this helps someone else..
Chip




---------------
Gas is for washing parts
Alcohol is for drinkin'
Nitromethane is for racing 
**********************************************************************
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**********************************************************************

Reply via email to