about the text box?

how can i make a new line in the text box without useing the ENTER (By code).This because i have 4 text boxes , i want to write in three and on lost foucs of the last one i mant these texts transfeired to the fourth text box. and if i repeart this o want the new line wich i wrote in the tree boxes come in a new line in the the fourthe text box ........ please i want the answer as sooooon as posible .

thanx.
loayAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

mcoopCommented:
Create a text file with notepad, and paste this code into it.

RENAME THE FILE as ThreeToOne.FRM

Double click on the new form to run VB with this new form.

Run the new VB code (you may have to make the new form as the startup form), and see if it does what you are expecting.

Good luck
MC
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
mcoopCommented:
' OOPS !
' HERE'S THE CODE
' THAT I FORGOT TO PASTE IN
' REGARDS MC

VERSION 5.00
Begin VB.Form Form1
   Caption         =   "Form1"
   ClientHeight    =   3510
   ClientLeft      =   60
   ClientTop       =   345
   ClientWidth     =   5025
   LinkTopic       =   "Form1"
   ScaleHeight     =   3510
   ScaleWidth      =   5025
   StartUpPosition =   3  'Windows Default
   Begin VB.TextBox Text4
      Height          =   2955
      Left            =   2580
      MultiLine       =   -1  'True
      TabIndex        =   3
      Text            =   "ThreeToOne.frx":0000
      Top             =   240
      Width           =   2235
   End
   Begin VB.TextBox Text3
      Height          =   915
      Left            =   240
      MultiLine       =   -1  'True
      TabIndex        =   2
      Text            =   "ThreeToOne.frx":002F
      Top             =   2280
      Width           =   2235
   End
   Begin VB.TextBox Text2
      Height          =   915
      Left            =   240
      MultiLine       =   -1  'True
      TabIndex        =   1
      Text            =   "ThreeToOne.frx":003F
      Top             =   1260
      Width           =   2235
   End
   Begin VB.TextBox Text1
      Height          =   915
      Left            =   240
      MultiLine       =   -1  'True
      TabIndex        =   0
      Text            =   "ThreeToOne.frx":0050
      Top             =   240
      Width           =   2235
   End
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Text3_LostFocus()

  Text4 = Text4 & vbNewLine & Text1 & vbNewLine & Text2 & vbNewLine & Text3
 
End Sub
0
EDDYKTCommented:
I don't quite understand your question.

But anyway, try set multiline to true on your fourth text box.

?->
0
EDDYKTCommented:
Well you already did? Just forget what I sent.

Sorry

8->
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic Classic

From novice to tech pro — start learning today.