AndreaVB Home | News Home | Forum Home | Downloads | Register | Search | PM | Profile
Hi, I need to add lines in a textbox control (set up with multiline and both scrollbars). For example: line1 line2 line3 ... lineN all in a text control. I tried the following but it won't work: while i<100 text1.text="line" & i text1.text=text1.text & vbcr wend What do you suggest me? Thanks in advance, Marcelo.
I've solved it. I had to use a VbNewLine at the end of each text line. But... something new turned up: When this textbox fills up it stays at the first line... I'd like it to be at the last line as it fills the text box what can I do to let this happen?
Hi, the property you need is selstart... as in... me.textbox.selstart = len~(me.textbox.text) Regards, Kieron ____________________________ Build it better, faster, quicker, easier.. then fix it (non-offical MS mission statement)