Visual Basic - Crear Objetos

Life is soft - evento anual de software empresarial
 
Vista:

Crear Objetos

Publicado por Virginia (1 intervención) el 27/10/2004 23:05:18
Nesecito algun codigo que me permita crear objetos en tiempo de ejecucion....
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
sin imagen de perfil

RE:Crear Objetos

Publicado por dventas (137 intervenciones) el 28/10/2004 09:31:36
Dim new_button As Control

Set new_button = Me.Controls.Add("VB.CommandButton", _
"cmdNew")
With new_button
.Move Command1.Left, Command1.Top + Command1.Height _
+ 120
.Caption = "New Button"
.Visible = True
End With
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