event-passthrough

Firefox: pass event from anonymous javascript function

In this abbreviated code, the inline event works - the "event" is passed to the testKeyPress function <textarea id="source" onkeydown= "showCursPos(this); var tf=testKeyPress(event); document.onkeypress=function(){return tf}; document.onkeydown=function(){return tf}; " ></textarea> function testKeyPress(e){ if (e...

iphone interface overlay pass-through events

Hi All, I'm farily new to iphone dev (<3 months on my free time) and I'm starting development of my second app. From the image, I'm adding a number of UIViews as subviews to my main UIViewController.view, the number of Views to add varies based on user selectable data. Each view contains several controls, a label, a UITextField and ...

Make WPF TextBox or other focusable controls transparent to certain key presses (i.e. pass-through, not swallow)

I have a ListBox with a custom data template which contains a CheckBox, a TextBlock and a TextBox. Normally when you select an item in a ListBox, the underlying ListBoxItem is actually what has the focus and as such, it responds to the up and down keys. Additionally, if the CheckBox has focus, since it doesn't do anything with the up a...