RE:RE:RE: Clipboard access through events

Hi,

>What if the author wanted to make some toolbar
buttons in >their application for copying and
pasteing?

That is a problem, even special attributes would not
work, because one could emulate a click event on that
button by just dispatching a click event on that
element.
Also one could always make then any button usable for
pasting without the user knowing.

Maybe then the approach of accessing the clipboard
directly should be used with a warning.
clipborad.dispatchPasteEvt() might dispatch a paste
event after the user has then given his OK.
It's not very pretty but would work without creating
any security holes.
I would consider this as a fallback but not as default
behavior.


Jan

__________________________________
Do you Yahoo!?
Yahoo! Small Business $15K Web Design Giveaway 
http://promotions.yahoo.com/design_giveaway/

Received on Tuesday, 6 April 2004 08:35:38 UTC