> I have a button (btnBS) that that operates as a backspace.  I use the 
> ctlSelectEvent (with btnBS) to trigger the backspace and execute 
> BackSpace() function. 
> 
> I'd like to have a grafitti backspace stroke act the same as the 
> button.  That is, I want an event that recognizes the grafitti 
> backspace stroke to execute BackSpace().  The grafitti stroke already 
> erases the char, as it should.
> 
> What is the process of trapping on grafitti events so that I can make 
> the backspace grafitti stroke do these other things?

You don't need to trap the graffiti event. Instead, look for the 
backspaceChr keyDown event.

Or, you could do like I did in one of the apps I've written. One of the 
forms has a field and a numeric keypad (comprising individual buttons) 
with a backspace key. In my event handler for the form, I handle the 
keypad button presses by enqueueing keyDown events. For the backspace 
key, I just enqueue a backspaceChr keyDown event. That way I can let 
the system field handler do all the work.

--
Roger Chaplin
<[EMAIL PROTECTED]>

Reply via email to