Visual Basic - Ayuda - Cocadenar Texto Visual Basic 6.0

Life is soft - evento anual de software empresarial
 
Vista:

Ayuda - Cocadenar Texto Visual Basic 6.0

Publicado por Domingo (13 intervenciones) el 04/11/2010 01:21:44
Hola Sr. Amigo ...!!! Tengo un trabajo que terminar (Visual Basic 6.0) , me falta que el "TEXT1" aparesca la frase :
(UD. Tiene Un Procesador 486 con el Sistema Operativo Windows 95)
(UD. Tiene Un Procesador 486 con el Sistema Operativo Windows 98)
(UD. Tiene Un Procesador 486 con el Sistema Operativo Windows ME)
(UD. Tiene Un Procesador 486 con el Sistema Operativo Windows NT)

...Seleccionando un Procesador y luego un Sistema Operativo. Aguardo respuesta desde ya Gracias ...

COCADENAR: Significa que podemos a un TEXTO ir acoplandole la información que queremos.

Este es el trabajo que ya tengo pronto.

Private Sub cmdcerrar_Click()
End
End Sub

Private Sub cmdnuevo_Click()
Opt486.Enabled = True
optpentium.Enabled = True
optpentiumpro.Enabled = True
optwindows95.Enabled = True
optwindows98.Enabled = True
optwindowsme.Enabled = True
optwindowsnt.Enabled = True
text1.Text = ""
Opt486.Value = 0
optpentium.Value = 0
optpentiumpro.Value = 0
optwindows95.Value = 0
optwindows98.Value = 0
optwindowsme.Value = 0
optwindowsnt.Value = 0
End Sub

Private Sub Opt486_Click()
text1.Text = "Procesador 486"
Opt486.Enabled = True
optpentium.Enabled = False
optpentiumpro.Enabled = False

End Sub

Private Sub optpentium_Click()
text1.Text = "Procesador Pentium"
opt486.Enabled = False
optpentium.Enabled = True
optpentiumpro.Enabled = False

End Sub

Private Sub optpentiumpro_Click()
text1.Text = "Procesador Pentium Pro"
opt486.Enabled = False
optpentium.Enabled = False
optpentiumpro.Enabled = True

End Sub

Private Sub optwindows95_Click()
text1.Text = "Sistema Operativo Windows 95"
End Sub

Private Sub optwindows98_Click()
text1.Text = "Sistema Operativa Windows 98"
End Sub

Private Sub optwindowsme_Click()
text1.Text = "Sistema Operativo Windows ME"
End Sub

Private Sub optwindowsnt_Click()
text1.Text = "Sistema Operativo Windows NT"
End Sub
Valora esta pregunta
Me gusta: Está pregunta es útil y esta claraNo me gusta: Está pregunta no esta clara o no es útil
0
Responder

RE:Ayuda - Cocadenar Texto Visual Basic 6.0

Publicado por Josue (27 intervenciones) el 11/11/2010 17:22:17
para concatenar es sensillo por ejemplo concatenar el contenido de dos textbox en un tercero

textbox3.text = textbox1.text + textbox2.text

igual para datos de cadenas y si lo quieres con espacio solo le agregas el espacio

textbox3.text = textbox1.text + " " + textbox2.text

espero te sirva
Valora esta respuesta
Me gusta: Está respuesta es útil y esta claraNo me gusta: Está respuesta no esta clara o no es útil
0
Comentar