Solved

Line feed a text box using virtual keyboard

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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Determine Range to Select 5 53
message box in access 4 51
Copy a row 12 64
Set WorkSheet  not Working 9 43
Introduction I needed to skip over some file processing within a For...Next loop in some old production code and wished that VB (classic) had a statement that would drop down to the end of the current iteration, bypassing the statements that were c…
When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
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…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

830 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