Login | |
|
 |
RE: Delete key ListBox - 6/18/2008 11:45:46 PM
|
|
 |
|
| |
mbouchard
Posts: 1916
Score: 16
Joined: 5/15/2003
From: USA
Status: offline
|
Do you get any return if you do something like this? If window.event.keycode = 127 then Wscript.echo "127" ElseIf window.event.keycode = 8 Then Wscript.Echo "8" End if
_____________________________
Mike For useful Scripting links see the Read Me First stickey! Always remember Search is your friend.
|
|
| |
|
|
|
 |
RE: Delete key ListBox - 6/26/2008 5:46:02 AM
|
|
 |
|
| |
SilentBob
Posts: 38
Score: 0
Joined: 3/27/2007
Status: offline
|
Thx ehvbs, onKeyUp (or onKeyDown) worked with window.event.keycode = 46 I don't get why it's 46 (ascii for . which is del on the numpad). When using onKeyUp it acts as a del key (not . on numpad), when using onKeyPress it acts like . (dot)
_____________________________
If you're looking for the truth, STOP lying.
|
|
| |
|
|
|
 |
RE: Delete key ListBox - 6/27/2008 4:09:32 AM
|
|
 |
|
| |
SilentBob
Posts: 38
Score: 0
Joined: 3/27/2007
Status: offline
|
quote:
ORIGINAL: ehvbs ... (again). ... shame on me just read it, oh so easy
_____________________________
If you're looking for the truth, STOP lying.
|
|
| |
|
|
|
|
|