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.


How do I make a textbox go from one to the other


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 12-17-2007, 09:12 PM
Junior Member
 
Join Date: Dec 2007
Posts: 32
Default How do I make a textbox go from one to the other

I have a program which asks for:

Scan the barcode:
(textbox1)
Scan the location:
(textbox2)

When both are scanned I want my program to save go further.

How can I make B4ppc go from barcode (textbox1) to location (textbox2)?

My scanner will scan the barcode and will give an ENTER after scanning. I would like B4ppc to go to textbox2 after the Enter. Scanner will scan the location (textbox2) and will give an ENTER here when my program will save a file.
I have the program now and when I don't use the scanner for input I can of course go to textbox1 and then point (or TAB) to texbox2. Because of use with a scanner it has to be automatically.

Thanks if you can help!

Jorrit.
Reply With Quote
  #2 (permalink)  
Old 12-17-2007, 09:41 PM
Junior Member
 
Join Date: Dec 2007
Posts: 32
Default

I have found out I can make:
Sub QTnaarlok_KeyPress (key)
If Key=Chr(13) Then
QTverwerken.Focus
End If
End Sub

I have only one (new) question now. When I have written the information into the table my programm goes back to textbox1. The information that I typed in before is still displayed. How can I erase this?
Reply With Quote
  #3 (permalink)  
Old 12-17-2007, 09:44 PM
agraham's Avatar
Basic4ppc Expert
 
Join Date: Jul 2007
Location: Cheshire, UK
Posts: 1,770
Awards Showcase
Beta Tester Forum Contributer 
Total Awards: 2
Default

textbox1.text = ""
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 make Loading page superbabicka Questions & Help Needed 3 03-31-2008 03:41 PM
How to get the PDA type and make HARRY Questions & Help Needed 3 01-13-2008 12:19 PM
make a csv file and more coloms sunnyboyj Questions & Help Needed 5 12-12-2007 09:07 PM
Help me to make HTMLViewer Lib conf Questions & Help Needed 2 06-17-2007 05:35 PM
Make table to edit giannimaione Basic4ppc Wishlist 0 05-13-2007 11:10 AM


All times are GMT. The time now is 07:03 AM.


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