Solved

Line feed a text box using virtual keyboard

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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Problem to skip loop 6 56
VBS file using code from 2nd file (txt or vbs) 4 36
MS Date Picker 64 bit 32 bit issue 12 53
Child Form in front 4 46
Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
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 Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…

813 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