Le 20 mars 07 à 20:26 Soir, jda a écrit: > Hi, > > I'd like to have a listbox drag contain different dragitems depending > upon which modifier keys are held down. Ideally, I'd like to use > Option-Command for dragging a hypertext link, for example. But with > the Option or Command keys (or both) held down, you can't do a drag. > Is there a workaround anyone has for this limitation? (Of course, > this is Mac OS X only).
Can't you simply handle the click in the MouseDown event? Then, you do something like that: dim d As DragItem if Keyboard.OptionKey and Keyboard.CommandKey then d=newDragItem(Left,Top,Width,Height) d.Text="My text based on keys down." d.drag end if _______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives: <http://support.realsoftware.com/listarchives/lists.html>
