Solved

Line feed a text box using virtual keyboard

Posted on 2002-03-30
4
488 Views
Last Modified: 2010-08-05
I'm building a touch screen system that doesn't use a standard keyboard but instead uses a virtual keyboard on the screen.  I'm having no luck getting the enter key to drop down to the next line in my standard text box.  

I've tried using chr(10) but all that does is display the | character.

Any help would be great...

P.S.  Using a regular keyboard is not an option :)
0
Comment
Question by:GMorgan
  • 2
4 Comments
 
LVL 6

Accepted Solution

by:
JonFish85 earned 35 total points
ID: 6908388
Make sure that the text box's MultiLine property is set to true, and use vbCrLf instead of Chr(10) maybe?

Hope this helps!

JonFish85
0
 

Expert Comment

by:wasb
ID: 6908501
vbcrlf is the way to go. Good luck
0
 

Author Comment

by:GMorgan
ID: 6909045
Thanks again....
0
 
LVL 6

Expert Comment

by:JonFish85
ID: 6909251
Glad to help! Thanks for the A grade and the points :-)
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

708 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now