|
-
Jun 16th, 2010, 02:07 PM
#1
Thread Starter
New Member
Creating textbox content
Hi
I have a project which involves calculating text and values and entering the result as a line in a listbox. - works fine.
My problem is to add the same data into a textbox or similar with each result displayed on a new line.
Adding chr(13) inserts '|' into the text string but does not insert a new line.
Any suggestions please
-
Jun 16th, 2010, 02:10 PM
#2
Re: Creating textbox content
Change the textbox's MultiLine property to True & also add vertical scrollbar if desired.
-
Jun 16th, 2010, 03:11 PM
#3
Re: Creating textbox content
Instead of chr$(13), try vbCrLf or vbNewLine.
Software I use and highly recommend: Opera, Miranda IM, Peerblock, Winamp, Unlocker Assistant, JoyToKey, Virtual CloneDrive, Secunia PSI, ExplorerXP, GOM Player, Real Alternative, Quicktime Alternative,Sumatra PDF, and non-freeware: Photoshop and VB6( ).
My codebank: AllRGB, Rounded Rectangle(math), Binary Server, Buddy Paint, LoadPictureGDI+, System GUID/Volume Serial, HexToAsc, List all processes and their paths, quasiString matching
Strings(search, extraction, retrieval etc): Retrieve BBCode Link from HTML, RemoveBetween ()'s, strFindBetween(str1,str2), Insert text in HTML, HTML - GetSpanByID
-
Jun 16th, 2010, 03:11 PM
#4
Member
Re: Creating textbox content
vbNewLine
I think instead of Chr(13) will help.
-
Jun 16th, 2010, 03:43 PM
#5
Re: Creating textbox content
yes... you need the vbCRLF (chr(13) + chr(10)) and set the text box to multiline = true
=tg
-
Jun 17th, 2010, 04:08 AM
#6
Thread Starter
New Member
Re: Creating textbox content
Thanks Guys / Gals
Help much appreciated
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|