Mathematica 9 is now available
Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2009

[Date Index] [Thread Index] [Author Index]

Search the Archive

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


  • Prev by Date: Re: Finding Clusters
  • Next by Date: Bug with Sequence
  • Previous by thread: Washington DC Area Mathematica Special Interest Group
  • Next by thread: Re: Problem with CurrentValue and Alt key