Problem with CurrentValue and Alt key
- To: mathgroup at smc.vnet.net
- Subject: [mg104563] Problem with CurrentValue and Alt key
- From: Harrie Kraai <hakraai at xs4all.nl>
- Date: Wed, 4 Nov 2009 01:33:14 -0500 (EST)
Hi, I got the following example from the Documentation Center on CurrentValue, but noticed a quirk: pushing the Alt key is signaled correctly only every other time (only the first, third, fifth, etc., the second etc. seem to be ignored): Grid[{ToExpression["\[" <> # <> "]"], Dynamic[CurrentValue[#]]} & /@ {"AltKey", "CommandKey", "ControlKey", "OptionKey", "ShiftKey"}, Frame -> All, ItemStyle -> {{Large, Automatic}}] This is both on Linux (SuSE 10.?) and on Windows XP, Mathematica 7.0.1. Bug or feature? HK