> If we use  chrBackspace , it deletes the previous char , we want to delete
> the next char , so we used a combination of  first enqueueing chrRightArrow
> and then chrBackspace . This works when the cursor is in the middle of the
> text . But when the cursor is at the end of the text , then chrRightArrow
> doesn't work only chrBackspace  works , so the previous chars get deleted
> one by one .
> What should we do in this case ? If we use only chrBackspace , how can it
> perform the function of chrDelete ?

use a combo of:

  FrmGetFocus() + FldGetTextLength() + FldGetInsPtPosition()    

check where the insertion position is on the field that has focus before 
you actually post any events...  

---
Aaron Ardiri
[EMAIL PROTECTED]
http://www.mobilewizardry.com/members/aaron_ardiri.php [profile]

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to