Unless you manage to send the messages yourself, but you would have to do
that differantly for every platform. Atleast on Windows I know it's
possible.

Maarten


On 27/05/06, Terry Ford <[EMAIL PROTECTED]> wrote:


On May 27, 2006, at 1:52 PM, Brian Heibert wrote:

> How would I go about trapping the delete key on Mac and the
> backspace key on Windows/Linux
> and going to the last letter typed or pressed on the keypad (either
> way it's in the text box/edit field)
> and deleting it?

By using the SelStart property to manipulate the insertion point
within the text. It isn't a simple task to edit the text on your
keyboard as you must emulate what is already built-in to the
editfield's text entry methods. There is a difference between
trapping keyboard keydown events and simulating them in a press of a
BevelButton on your own 'keyboard'. You basically must do all of the
background work yourself.

Terry

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to