[Dojo-interest] dojo keys and _onKeyPress
Rob Weiss
j105.rob at gmail.com
Thu Jun 24 07:25:18 EDT 2010
Oh, also, where is your connection to this event? dojo.connect?
On Thu, Jun 24, 2010 at 7:24 AM, Rob Weiss <j105.rob at gmail.com> wrote:
> What does the event's object look like? Or is the the event not even being
> raised?
>
> On Thu, Jun 24, 2010 at 7:16 AM, Jean-Rubin Leonard <jrleonard at gmail.com
> > wrote:
>
>> Hi all,
>> I have the following code (snippet):
>> _onKeyPress: function(/*Event*/evt){
>> // summary:
>> // Provides keyboard navigation of calendar
>> // tags:
>> // protected
>> var dk = dojo.keys,
>> ....
>> bunch of stuf...
>>
>> case dk.SHIFT:
>> //if shift is pressed, we know the user is selecting a range,
>> //in which case we are going to select a range of date
>> this.selectingRange = true;
>>
>> My problem is one I press on any of shift, control, command (am on a mac)
>> or alt, my _onKeyPress event isnt triggered. I cannot therefore run the code
>> i want to run.
>> any one can tell me how to remedy this?
>> JR
>>
>> _______________________________________________
>> FAQ: http://dojotoolkit.org/support/faq
>> Book: http://docs.dojocampus.org
>> Dojo-interest at mail.dojotoolkit.org
>> http://mail.dojotoolkit.org/mailman/listinfo/dojo-interest
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.dojotoolkit.org/pipermail/dojo-interest/attachments/20100624/b2a8a60a/attachment.htm
More information about the Dojo-interest
mailing list