|
-
Feb 3rd, 2005, 04:10 AM
#1
Thread Starter
Addicted Member
Textbox Multiline
Hi,
I get some huge text from a cell in Excel to the Textbox in my form, which is set to Multiline and have scrollbars. The problem is I couldn't get the exact format of the text --> meaning, the spaces between the lines. In Excel, I'm having the list of lines with numbers 1,2,3...But when it retrieved from Excel, Textbox shows it as a paragraph. How can I format the Text???
Regrads,
Hems.
-
Feb 3rd, 2005, 04:18 AM
#2
Hyperactive Member
Re: Textbox Multiline
Have you tried using the RichTextBox control?
This allows you to format text so should hopefully solve your problem.
Be who you are and say what you feel, because those who mind don't matter and those who matter don't mind.
Dr. Seuss 
-
Feb 3rd, 2005, 04:28 AM
#3
Thread Starter
Addicted Member
Re: Textbox Multiline
hi,
But the text in the Excel is entered by the user. So I don't know where it have the spaces between the lines and all. So how can i get & store what exactly the user types??
-
Feb 3rd, 2005, 05:00 AM
#4
Re: Textbox Multiline
 Originally Posted by haihems
hi,
But the text in the Excel is entered by the user. So I don't know where it have the spaces between the lines and all. So how can i get & store what exactly the user types?? 
You can't, because Excel applies its own formating rules to the user input.
I don't live here any more.
-
Feb 3rd, 2005, 07:27 AM
#5
PowerPoster
Re: Textbox Multiline
Hi wossname,
Can't he import the text and then do a split on VBCRLF?
Taxes
The more I learn about VB.NET the more I like dBaseIII Plus
The foregoing, whilst believed to be correct, is given without guarantee as to it's accuracy and entirely without recourse. You are required to decide for yourself whether or not it is suitable for your purposes and no liability for loss of any nature can be entertained.
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
|