Keypress Event

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Sl1ver
    New Member
    • Mar 2009
    • 196

    Keypress Event

    This is my problem, i'm moving nodes but i want the person using the program to press the control key and then drag the node to the selected area. Because i don't want the person to just click and drag otherwise it might happen unexpectedly. i'm using mouse down, drag over and drag drop for the nodes.....Any help of how to implement the Control key?
  • tlhintoq
    Recognized Expert Specialist
    • Mar 2008
    • 3532

    #2
    Same issue, differnt solution

    I don't know how to do the control key, but I can give you a plan 'b' (alternative to drag-n-drop)

    Right-Click on the node
    Context menu
    Cut/Copy
    Right-Click where you want it to land
    Paste

    This is what I did for an app need the same funcationality, and other options in the context menu

    Comment

    Working...