FORMULARIOS DE CULTURAS

jueves, 23 de octubre de 2008


Realizaremos un formulario de las culturas del mundo:
1)Colocaremos en el formulario 8 label, 6 images, 4 botones de comando, 9 botones de opción.

2)En label 1 colocarás tu seudónimo y colocaras el sgt. código Label2.Caption = "tu nombre" y al ejecutar cuando le des click en label1 saldrá tu nombre en label2
3)En image1,3 y 5 colocarás caritas felices y en image2,4y 6 pondrás caritas tristes.
4)En los botones de comando pondremos los sgts. Códigos:
Command1:
Caption:Salir
Código:End

Command2:
Caption:Revisar
Código: If Option3 ThenLabel6.Caption = "Bien"Image1.Visible = TrueImage2.Visible = FalseElseLabel6.Caption = "Mal"Image1.Visible = FalseImage2.Visible = TrueEnd If

Command3:
Caption:Revisar2
Código:If Option5 ThenLabel7.Caption = "Bien"Image3.Visible = TrueImage4.Visible = FalseElseLabel7.Caption = "Mal"Image3.Visible = FalseImage4.Visible = TrueEnd If
Command4:
Caption:Revisar3
Código:If Option9 ThenLabel8.Caption = "Bien"Image5.Visible = TrueImage6.Visible = FalseElseLabel8.Caption = "Mal"Image5.Visible = FalseImage6.Visible = TrueEnd If

5)Doble click sobre el formulario y colocaremos el sgt. código:
RandomizeImage1.Visible = FalseImage2.Visible = FalseImage3.Visible = FalseImage4.Visible = FalseImage5.Visible = FalseImage6.Visible = False










Con los códigos de este formulario podrás hacer otro como los siguientes:
-El de las culturas Andinas y Mesoamericanas.

Aquí podemos ver algunos ejemplos:



0 comentarios: