Solved

Line feed a text box using virtual keyboard

Posted on 2002-03-30
4
489 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…

920 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

15 Experts available now in Live!

Get 1:1 Help Now