Solved

Line feed a text box using virtual keyboard

Posted on 2002-03-30
4
493 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
using Access 8 94
VB6 - Convert HH:MM into Decimal 8 76
How to make an ADE file by code? 11 110
Fastest way to find and count same items VB6 16 62
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 designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
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…

739 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