1. Códigos de Visual Basic 6.0
Command Button: Este control, nos permite realizar cualquier rutina,
función, cuando hacemos click del mismo, para hacer de esta manera
alguna tarea dentro del programa. Su código es:
Private Sub Command1_Click ()
End Sub
Frame: se usa como contenedorde otros controles.
Caption: (borramos todo lo que dice) Visible = false Preparar los botones.
En Command 1 variar la propiedad caption por "Selecciona"; en Command
2 por "Salir"; y en el Command 3 poruna "X".
Label: esta nos dice si la etiqueta tiene un fondo transparente.
Private Sub MakeTransparent ()
Label1.BackStyle = vbTransparent
End Sub
PictureBox: lo utilizamos para colocar imágenes.
Picture1.Picture = LoadPicture (App.Path & "somepicture.jpg")
TextBox: nos dice cuántos caracteres podemos escribir.
Private Sub Form_Load ()
Text1.Text = "Two of the peak human experiences"
Text1.Text = Text1.Text & " are good food and classical music."
End Sub
2. OptionButton: nos sirve para elegir opciones.
If Option1.Value = True Then
Option2.Value = True
Else
Option1.Value = True
End If