o
k
q
u
e
s
t
i
o
n
s
.
c
o
m

Lines through a textbox -

Is there any way duplicate the lines that are running through the textbox in the included picture?



This is from the import screen on Access.
I would eventually like to be able to print with those lines in place.

 

How to know how many real lines has a TextBox -
When I set the TextBox.Multiline property and TextBox.Wordwrap I can have several lines in the control. I'm supposed to get the number of lines using TextBox.Lines.Length, but I only receive the number of lines followed by a real CR-LF character. I need to know how many real lines d


How to show last text in text box *Resolved* -
I have a 5 line textbox that holds 10 lines of text. I have multiline true. As the textbox is an event log window, I want it to stay focused on the most recently added line. The way it currently works I see lines 1-5, but not 6 - 10. As I add lines 11 , 12 ,13, etc, I want them t


is there a limit -
i have an application which is inserting some lines into a multiple line textbox and at the same time running a sql procedure. now i have the problem that when the textbox has something around 5000 lines there are no more lines added but the sql process continues running. is it pos


counting the lines in a multline textbox -
Hello there, Is there a (easy) way to find the number of lines of text in a multiline textbox?? My textbox has a fixed width but not a fixed height and I would like to calculate the height of my textbox in function of the number of lines in my textbox. Thanks!


Help with textbox multiline property {Resolved} -
Hey, i have a form which is suppose to act as a data sheet for when viewing records in a database. I have serveral textboxes which are using the multiline property, so that if the text for the textbox is longer then the width of the textboxes, the height of the textbox will change acco


Text Boxes and Multi Lines -
I am currently trying to create a textbox that displays 3 random numbers, one on each of 3 lines in a textbox. So far, I have created a random function, but I don't know how to display information in separate lines. Is there a command for a carraige return when outputting to a tex


SOLVED : Max number of lines in a textbox -
First of all, Sorry to all of you. I had deletted this thread to fast by accident. MartinLiss : I have read your reply, but it was to difficult for me, i dont realy understand that piece of code. Thanks anyway. The problem i have is the following : I need to set the maximum


Numbering Lines -
I want to number all of the lines in my textbox, this I could do easily, however I have run into 2 problems. 1. The Rich Textbox expands to the center so it fills the form, this works perfect as is. Now I wanted to put a panel on the left so I could number the lines, but the textbox


Separating the lines in a multiline textbox -
My textbox contains 4 lines. What I want to do is separate these lines into strings i.e. str1 = Line1 str2 = Line2 etc. Simple enough I know


Lines through a textbox -
Is there any way duplicate the lines that are running through the textbox in the included picture? This is from the import screen on Access. I would eventually like to be able to print with those lines in place.


MultiLine in A TextBox -
I have a TextBox with MutiLine set to True and ScrollBar set to None. I want to limit the number of lines the users can enter into the TextBox. Does anyone know how to get the number of lines in a TextBox? I have tried several ways and none of them worked. Thanks


Textbox Question -
is it possible to tell how many lines down on a multiline textbox, the text goes? Let me rephrase that if it was confusing, how can i tell how far the text goes down on a textbox? (eg. 3 lines)For example, i am typing this out, and the text has wrapped to make 7 lines. any help?


How many lines in a Multiline textbox -
I have a multiline textbox of set size. How do I know how many lines have text? e.g. ---------------------- | One line | | Three line | | --------------------- Even though there are more than 3 lines in the textbox and only 2 of those have data how can I get it to retur


Determining the number of lines in a textbox control *Solved* -
How do I determine how many lines exist in a multi-line textbox control and then subsequently resize that textbox control so that the scrollbars are no longer needed (so that the text just all fits into the textbox). Help appreciated.


delete last few lines of a textbox -
how would i go about removing the last 4 lines of a textbox? remember this is text that's already loaded into a textbox. Thanks!


maximum number of lines in textbox -
I have a template in word which i want to populate automatically. Its setup so it automatically wraps text horizontally but it can only have a maximum of 25 lines! From my vb program i want the user to fill in a textbox which will automaticlaly get transferred to the word document


Scrolling a Multiline Textbox Programatically -
This has probably been covered before, but I was not able to find anything in a cursory search. I have a multi-line text box that I add lines to periodically throughout my program. As the box fills, what I'd like it to do is scroll automatically, so that the most recently added line


couting lines in a textbox -
is there anyway to count the number of visible lines in a textbox. i only want to count the lines you can see without using the scrollbars.


how many lines -
is there any way of finding out how many visible lines a multiline textbox can hold even if the textbox is resized or the fontsize changed. thank you. casey.


New Llines in a textbox -
I have a simple question: How can I add lines to a textbox. If the textbox already has content, how do I add new lines of content? Regards Wouter


TextBox # of lines without API -
Is there a way to find out the total number of used lines in a TextBox in VB.NET without using API? -- Ethan --


Counting lines within a textbox -
How can I count the number of lines of text within a textbox? Thanks, Jon


[2008 Expr] Textbox scrolled to bottom, to appear like console -
I have a textbox to which I (programaticaly) add lines I want it to appear similar to a console, in that when the text becomes too long for the textbox, the top lines are hidden, and the newly written lines at the bottom are shown. I have scroll bars, but it defaults to scroll to th


Grow/Shrink a wordwraped textbox -
Does anybody know how to grow or shrink a text box that is using word wrap? Or alternatively, know how to get the number of lines in a wordraped text box (NOT textbox.lines, these are lines that are delimeted by a CR LF, wordwraps dont do this). Thanks


Removing lines from the top of a TextBox -
I am writing a telnet client and must set a maximum of lines in the main RichTextBox. The RichTextBox.Lines property does not seem to contain any property or method to delete actual lines of text. Is there any way to remove entire lines from the top of the text box?


help with multiline textboxes -
hi, I'm an engineer who dabbles in programming and i need some help from you all the experts, I need to know how to output several lines into a textbox. what i need to have is a heading, and then several lines (actual no. depending on the user inputs) in one textbox. each line comes


visible lines in textbox -
How can I find the number of visible lines in a textbox. I mean the number of lines you can see without scrolling. The size of the textbox changes, and the font size changes.


Give added lines to a multline textbox focus -
hey guys I use this code to add new lines to my text10 textbox. Text10.Text = Text10.Text & vbNewLine & "Scanning in progress...Please Wait.." But what happens is after so many lines are added, I have to scroll down to see them, is there a way so when a new


getting seperate lines from multiline textbox -
hi, is there an easy way to assign the different lines from a multi line text box to different variables? I used the vbCrLf thingy to add the different lines. Thanks Nick


VBA - Word - How to cancel a keystroke -
Hi, I have a ActiveX TextBox in my Word document. The textbox has a height of 111 with a MaxLenght set to 500. The problem I have is that if the person types in several ENTER key, we lose some text when printing the document. I would like to prevent the user from using more t


TextBox Lines -
I need some help maybe someone can answer: 1. How can I get count of lines from multi line TextBox ? 2. How can I display for example seventh line from multiline TextBox1 in TextBox2 ?


Count textlines in textbox shape -
My project is allmost finished, still need to solve a few codeproblems. I use Word automation in my VB6 application. Set Appword = CreateObject("Word.Application") How can i get the handle of the active textboxshape ? Note this is not a textbox but a textbox shape so


total lines in a textbox -
I need to know how to determine the total number of lines in a multi line textbox. I have looked thru the properties and I cannot come up with a solution.


comparing words in a textbox... -
hi all.. I have a textbox with some lines of text in it. How could I be able to pass each word in the textbox through so that I could use it in a function I have. to give you an idea what I mean.. I have a function which compares a word the user enters with each word in the te


setting Textbox.Text with multiple lines -
It is very simple, I would like to add a line to a textbox that already contain lines. I supposed it would be Textbox.Text = "new line" & Chr(x) & Textbox.Text but I haven't found it yet


from textbox to listbox -
i need to make the text on the textbox go to the listbox(not the problem), my problem is that all the lines on the textbox go together so it will all be in 1 line. i need the lines to seperate like line1 on textbox will be line1 on the list and line2 on textbox will be on line2 of the


Textbox Limit # of lines ***** RESOLVED -
Hi there! I want to limit a multiline textbox to 5 lines, max 40 characters per line. Can it be done?? Thanks in advance.


Saving Multilines -
Hello, I am having trouble saving large amounts of data. I have many Multi-Line textboxes that I must Save. I need to save them to a file, and only one file. I want to use the Print Property if i can. I have two ways that i could try. #1 Is there a way to save two lines betwee


Count the number of lines of a textbox -
Hey guys I was just wondering is there a way to count the lines of text in a textbox? Thanks.


Write text on specific line in a textbox -
I am trying to write text on a specific line in a textbox for example on the forth line) I've tried : TextBox1.Lines = TextBox1.Lines.Length but get this error: Value of type 'Integer' cannot be converted to '1-dimensional array of String'. I assume this is beacause Text