Create a dragStart event and

if (event.altKey==true){
    event.preventDefault();
    return;
}

un tested but should get you on the right track...

jason


  -----Message d'origine-----
  De : [email protected] [mailto:[EMAIL PROTECTED] la
part de darvon4u
  Envoyé : lundi 26 février 2007 22:16
  À : [email protected]
  Objet : [flexcoders] disabling COPY in drag/drop operations


  Hi everybody,

  Here is an interesting issue. We have a datagrid where the user should
  be able to reorder items by dragging/dropping. everything is nice an
  easy, except when they hold "ctrl" it copies and messed up the whole
  list :(

  I have tried to add the dragover and etc event handlers and set
  "event.ctrlKey = false" in there, but it does nothing.

  Can somebody recommend something? this is one of those things that
  should be really easy but it is not. it is easy to disable move
  operation, but i want to do the opposite and force move while
  disabling copy..... anybody?

  Thanks!



  

Reply via email to