Basic4ppc - Windows Mobile Development  

Go Back   Basic4ppc - Windows Mobile Development > Main Category > Questions & Help Needed
Home Register FAQ Members List Search Today's Posts Mark Forums Read

Questions & Help Needed Post any question regarding Basic4ppc.


Catch hardkeys in textbox control ?


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-15-2007, 11: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 11:34 AM.
Reply With Quote
  #2 (permalink)  
Old 06-15-2007, 02:55 PM
specci48's Avatar
Basic4ppc Expert
 
Join Date: Apr 2007
Location: Germany
Posts: 636
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, 19 views)
Reply With Quote
  #3 (permalink)  
Old 06-15-2007, 11: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 On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to catch cursor hardkeys on Windows? Vito Questions & Help Needed 1 02-06-2008 05:44 PM
Readonly property in the Textbox control bidibulle Basic4ppc Wishlist 14 11-16-2007 09:19 AM
not all hardkeys... rmh Questions & Help Needed 6 07-06-2007 10:28 AM
How to catch hardkeys ? conf Questions & Help Needed 5 06-04-2007 06:05 PM
textbox control error in v5 Put Claude Bug Reports 2 05-19-2007 09:22 PM


All times are GMT. The time now is 01:49 PM.


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0