Download the free trial version
Basic4android Video
Features
Tutorials and manuals
Showcase
Screenshots

Go Back   Android Development Forum - Basic4android > Basic4ppc (Windows Mobile) > Questions (Windows Mobile)
Documentation Wiki Register Members List B4P Search Today's Posts Mark Forums Read

Questions (Windows Mobile) Post any question regarding Basic4ppc.

Delete keypress

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 12-04-2007, 02:03 AM
Newbie
 
Join Date: Sep 2007
Posts: 8
Default Delete keypress

I capture when a user makes a change to a textbox text. The keypress event does not pick up the detele key press. Is there a way around this?
Reply With Quote
  #2 (permalink)  
Old 12-04-2007, 03:28 AM
Senior Member
 
Join Date: May 2007
Posts: 174
Awards Showcase
Beta Tester 
Total Awards: 1
Default

Quote:
Originally Posted by emaster View Post
I capture when a user makes a change to a textbox text. The keypress event does not pick up the detele key press. Is there a way around this?
Hi emaster,
Do you have delete button on your device? I have only backspace.

One workaround on detecting text change on textbox is to record old text once the textbox got focus then compare new text after textbox lost focus.

Regards,
__________________
Rioven

DEVICE: Motorola ATRIX (Dual Core) Android 2.2.1
DESKTOP: Intel Pentium Dual-core E5200; Microsoft® Windows® Vista Home (Basic); Hard Disk:320GB; Memory:4096MB
Reply With Quote
  #3 (permalink)  
Old 12-04-2007, 06:15 AM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 15,726
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
Default

You could also use agraham's ControlsEvents library and capture the TextChanged event.
http://www.basic4ppc.com/forum/additional-libraries/934-controlevents-library.html
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
getting the Pressed Key in the KeyPress event Cableguy Questions (Windows Mobile) 2 09-05-2008 05:17 PM
Keypress ceaser Questions (Windows Mobile) 2 05-28-2008 04:21 AM
Keypress and SelectionChanged.. robee9931 Questions (Windows Mobile) 1 05-27-2008 03:08 PM
Delete a row in a table and simultaneously delete it in the database gonzamax Questions (Windows Mobile) 2 12-25-2007 01:23 PM
Delete Control and Delete Form Items alfcen Basic4ppc Wishlist 3 10-05-2007 12:09 PM


All times are GMT. The time now is 01:37 AM.


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0