Está en la página 1de 3

VERSION 5.00 Begin VB.

Form Form1 Caption = "Form1" ClientHeight = 5415 ClientLeft = 60 ClientTop = 420 ClientWidth = 6540 LinkTopic = "Form1" ScaleHeight = 5415 ScaleWidth = 6540 StartUpPosition = 3 'Windows Default Begin VB.Frame Frame2 Caption = "Posicin" Height = 1815 Left = 360 TabIndex = 1 Top = 3240 Width = 1695 Begin VB.OptionButton Option6 Caption = "Option6" Height = 255 Left = 240 TabIndex = 7 Top = 1080 Width = 255 End Begin VB.OptionButton Option5 Caption = "Option5" Height = 255 Left = 240 TabIndex = 6 Top = 480 Width = 255 End Begin VB.Label Label6 Caption = "Avajo" Height = 255 Left = 600 TabIndex = 13 Top = 1080 Width = 735 End Begin VB.Label Label5 Caption = "Arriba" Height = 255 Left = 600 TabIndex = 12 Top = 480 Width = 735 End End Begin VB.Frame Frame1 Caption = "Colores" Height = 2535 Left = 360 TabIndex = 0 Top = 240 Width = 1695 Begin VB.OptionButton Option4 Caption = "Option4"

Height Left TabIndex Top Width

= = = = =

255 240 5 2160 255 Option3 "Option3" 255 240 4 1560 255 Option2 "Option2" 255 240 3 960 255 Option1 "Option1" 255 240 2 360 255 "Amarillo" 255 600 11 2160 735 "Verde" 255 600 10 1560 735 "Rojo" 255 600 9 960 735 "Azul" 255 600 8 360

End Begin VB.OptionButton Caption = Height = Left = TabIndex = Top = Width = End Begin VB.OptionButton Caption = Height = Left = TabIndex = Top = Width = End Begin VB.OptionButton Caption = Height = Left = TabIndex = Top = Width = End Begin VB.Label Label4 Caption = Height = Left = TabIndex = Top = Width = End Begin VB.Label Label3 Caption = Height = Left = TabIndex = Top = Width = End Begin VB.Label Label2 Caption = Height = Left = TabIndex = Top = Width = End Begin VB.Label Label1 Caption = Height = Left = TabIndex = Top =

Width End

735

End End Attribute VB_Name = "Form1" Attribute VB_GlobalNameSpace = False Attribute VB_Creatable = False Attribute VB_PredeclaredId = True Attribute VB_Exposed = False Private Sub Frame2_DragDrop(Source As Control, X As Single, Y As Single) Option Explicit Private Sub Form_Load() txtCaja.Top = 0 End Sub Private Sub Option1_Click() Private Sub optAzul_Click() txtCaja.BankColor = vbBlue End Sub Private Sub Option2_Click() Private Sub optRojo_Click() txtCaja.BankColor = vbRed End Sub Private Sub Option3_Click() Private Sub optVerde_Click() txtCaja.BankColor = vbGreen End Sub Private Sub Option4_Click() Private Sub optAmarillo_Click() txtCaja.BankColor = vbYellow End Sub Private Sub Option5_Click() Private Sub optArriva_Click() txtCaja.Top = 0 End Sub Private Sub Option6_Click() Private Sub optAbajo_Click() txtCaja.Top frmColores0.ScaleHeight - txtCaja.Height End Sub

También podría gustarte