PDA

Click to See Complete Forum and Search --> : VB TxtBox help?


Anton LaVey
Jan 7th, 2000, 06:37 AM
I need to go onto the next line in a textbox that is set to (multiline). However, & vbCr & or + vbCr + don't work...
Please help,

Anton LaVey

Smie
Jan 7th, 2000, 06:41 AM
Ahh, just found this out myself! try:

text1.text = "whatever you want" & vbCrLf & "Whatever you want"

so basically what your looking for is "vbCrLf"

Anton LaVey
Jan 7th, 2000, 06:44 AM
That's cool man. Thanks loads for helping me...

Now, does anyone know how to change the color of certains words in a list or array when they are typed into a textbox? Like when If Then or Else is highlighted in blue when you finish a line on VB.
Also, final question for now, How does an Intellisense system work, like when functions are completed for you automatically?

Thanks again!

Anton LaVey
Jan 7th, 2000, 07:03 AM
Come on, please help me...

Anton LaVey