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.

Catch hardkeys in textbox control ?

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-15-2007, 10:27 AM
Knows the basics
 
Join Date: May 2007
Posts: 82
Default Catch hardkeys in textbox control ?

Hi everyone,

I have a form with 3 textbox: TextBox1, TextBox2, TextBox3. When focus in TextBox1, I want to press down key and it will focus toTextBox2, also with TextBox3. I read example in Help but it only catch hardkeys of form, not the textbox. Could you please tell me how?

Thank so much.

Last edited by conf : 06-15-2007 at 10:34 AM.
Reply With Quote
  #2 (permalink)  
Old 06-15-2007, 01:55 PM
specci48's Avatar
Basic4ppc Expert
 
Join Date: Apr 2007
Location: Germany
Posts: 1,057
Awards Showcase
Beta Tester Forum Contributer 
Total Awards: 2
Default

You can only catch the hardware keys from a form so you have to code manually what you want to do.
I added an example to change the focus of different textboxes ... but I think it is not an elegant way to do it.

specci48
Attached Files
File Type: zip HardKey.zip (2.9 KB, 24 views)
Reply With Quote
  #3 (permalink)  
Old 06-15-2007, 10:28 PM
Knows the basics
 
Join Date: May 2007
Posts: 82
Default

Specci48, you help me again

But your code only catch key once time. I'll think another solution.

Thank you again and again.
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
How to catch cursor hardkeys on Windows? Vito Questions (Windows Mobile) 1 02-06-2008 04:44 PM
Readonly property in the Textbox control bidibulle Basic4ppc Wishlist 14 11-16-2007 08:19 AM
not all hardkeys... rmh Questions (Windows Mobile) 6 07-06-2007 09:28 AM
How to catch hardkeys ? conf Questions (Windows Mobile) 5 06-04-2007 05:05 PM
textbox control error in v5 Put Claude Bug Reports 2 05-19-2007 08:22 PM


All times are GMT. The time now is 04:11 AM.


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