Code For Menu Deslizable
Code For Menu Deslizable
TUTORIAL
IF YOU WOULD LIKE US TO CONTINUE MAKING THIS TYPE OF MATERIAL, PLEASE SHARE THE
VIDEO, LIKE AND SUBSCRIBE TO THE CHANNEL, THANK YOU!!
EN ESTE ARCHIVO DEJO LOS CODIGOS DEL VIDEO CON LOS CUALES PUEDES PRACTICAR EL
TUTORIAL
PARA QUE SIGAMOS HACIENDO ESTE TIPO DE MATERIAL PORFA COMPARTE EL VIDEO DALE LIKE Y
SUSCRIBETE AL CANAL, GRACIAS!!
-----------------------------------------------------------------------------------
--------------------------------
Private Sub UserForm_Initialize()
With Me
' .Left = 0
.Height = Application.Height
.Width = Application.Width
End With
End Sub
-----------------------------------------------------------------------------------
--------------------------------
Private Sub IPR_Click()
SPRD.Show
End Sub
-----------------------------------------------------------------------------------
--------------------------------
Private Sub ICL_Click()
CLIE.Show
End Sub
-----------------------------------------------------------------------------------
--------------------------------
Private Sub IPV_Click()
PROV.Show
End Sub
-----------------------------------------------------------------------------------
--------------------------------
Private Sub ICE_Click()
Unload Me
End Sub
-----------------------------------------------------------------------------------
--------------------------------
Private Sub ICE_MouseMove(ByVal Button As Integer, ByVal Shift As Integer, ByVal X
As Single, ByVal Y As Single)
With IPR
.Height = 54
.Width = 54
Lpr.Caption = ""
End With
With ICL
.Height = 54
.Width = 54
Lcl.Caption = ""
End With
With IPV
.Height = 54
.Width = 54
Lpv.Caption = ""
End With
With ICO
.Height = 54
.Width = 54
Lco.Caption = ""
End With
With IRE
.Height = 54
.Width = 54
Lre.Caption = ""
End With
With IEM
.Height = 54
.Width = 54
Lem.Caption = ""
End With
With IUS
.Height = 54
.Width = 54
Lus.Caption = ""
End With
With ICF
.Height = 54
.Width = 54
Lcf.Caption = ""
End With
With ICE
.Height = 54
.Width = 132
Lce.Caption = "Cerrar"
End With
Lblpr.Visible = False
Lblcl.Visible = False
Lblpv.Visible = False
Lblco.Visible = False
Lblre.Visible = False
Lblem.Visible = False
Lblus.Visible = False
Lblcf.Visible = False
Lblce.Visible = True
End Sub
-----------------------------------------------------------------------------------
--------------------------------
Private Sub ICF_MouseMove(ByVal Button As Integer, ByVal Shift As Integer, ByVal X
As Single, ByVal Y As Single)
With IPR
.Height = 54
.Width = 54
Lpr.Caption = ""
End With
With ICL
.Height = 54
.Width = 54
Lcl.Caption = ""
End With
With IPV
.Height = 54
.Width = 54
Lpv.Caption = ""
End With
With ICO
.Height = 54
.Width = 54
Lco.Caption = ""
End With
With IRE
.Height = 54
.Width = 54
Lre.Caption = ""
End With
With IEM
.Height = 54
.Width = 54
Lem.Caption = ""
End With
With IUS
.Height = 54
.Width = 54
Lus.Caption = ""
End With
With ICF
.Height = 54
.Width = 132
Lcf.Caption = "Config."
End With
With ICE
.Height = 54
.Width = 54
Lce.Caption = ""
End With
Lblpr.Visible = False
Lblcl.Visible = False
Lblpv.Visible = False
Lblco.Visible = False
Lblre.Visible = False
Lblem.Visible = False
Lblus.Visible = False
Lblcf.Visible = True
Lblce.Visible = False
End Sub
-----------------------------------------------------------------------------------
--------------------------------
Private Sub ICL_MouseMove(ByVal Button As Integer, ByVal Shift As Integer, ByVal X
As Single, ByVal Y As Single)
With IPR
.Height = 54
.Width = 54
Lpr.Caption = ""
End With
With ICL
.Height = 54
.Width = 132
Lcl.Caption = "Clientes"
End With
With IPV
.Height = 54
.Width = 54
Lpv.Caption = ""
End With
With ICO
.Height = 54
.Width = 54
Lco.Caption = ""
End With
With IRE
.Height = 54
.Width = 54
Lre.Caption = ""
End With
With IEM
.Height = 54
.Width = 54
Lre.Caption = ""
End With
With IUS
.Height = 54
.Width = 54
Lus.Caption = ""
End With
With ICF
.Height = 54
.Width = 54
Lcf.Caption = ""
End With
With ICE
.Height = 54
.Width = 54
Lce.Caption = ""
End With
Lblpr.Visible = False
Lblcl.Visible = True
Lblpv.Visible = False
Lblco.Visible = False
Lblre.Visible = False
Lblem.Visible = False
Lblus.Visible = False
Lblcf.Visible = False
Lblce.Visible = False
End Sub
-----------------------------------------------------------------------------------
--------------------------------
Private Sub ICO_MouseMove(ByVal Button As Integer, ByVal Shift As Integer, ByVal X
As Single, ByVal Y As Single)
With IPR
.Height = 54
.Width = 54
Lpr.Caption = ""
End With
With ICL
.Height = 54
.Width = 54
Lcl.Caption = ""
End With
With IPV
.Height = 54
.Width = 54
Lpv.Caption = ""
End With
With ICO
.Height = 54
.Width = 132
Lco.Caption = "Cotizacion"
End With
With IRE
.Height = 54
.Width = 54
Lre.Caption = ""
End With
With IEM
.Height = 54
.Width = 54
Lre.Caption = ""
End With
With IUS
.Height = 54
.Width = 54
Lus.Caption = ""
End With
With ICF
.Height = 54
.Width = 54
Lcf.Caption = ""
End With
With ICE
.Height = 54
.Width = 54
Lce.Caption = ""
End With
Lblpr.Visible = False
Lblcl.Visible = False
Lblpv.Visible = False
Lblco.Visible = True
Lblre.Visible = False
Lblem.Visible = False
Lblus.Visible = False
Lblcf.Visible = False
Lblce.Visible = False
End Sub
-----------------------------------------------------------------------------------
--------------------------------
Private Sub IEM_MouseMove(ByVal Button As Integer, ByVal Shift As Integer, ByVal X
As Single, ByVal Y As Single)
With IPR
.Height = 54
.Width = 54
Lpr.Caption = ""
End With
With ICL
.Height = 54
.Width = 54
Lcl.Caption = ""
End With
With IPV
.Height = 54
.Width = 54
Lpv.Caption = ""
End With
With ICO
.Height = 54
.Width = 54
Lco.Caption = ""
End With
With IRE
.Height = 54
.Width = 54
Lre.Caption = ""
End With
With IEM
.Height = 54
.Width = 132
Lem.Caption = "Empresa"
End With
With IUS
.Height = 54
.Width = 54
Lus.Caption = ""
End With
With ICF
.Height = 54
.Width = 54
Lcf.Caption = ""
End With
With ICE
.Height = 54
.Width = 54
Lce.Caption = ""
End With
Lblpr.Visible = False
Lblcl.Visible = False
Lblpv.Visible = False
Lblco.Visible = False
Lblre.Visible = False
Lblem.Visible = True
Lblus.Visible = False
Lblcf.Visible = False
Lblce.Visible = False
End Sub
-----------------------------------------------------------------------------------
--------------------------------
Private Sub IPR_MouseMove(ByVal Button As Integer, ByVal Shift As Integer, ByVal X
As Single, ByVal Y As Single)
With IPR
.Height = 54
.Width = 132
Lpr.Caption = "Productos"
End With
With ICL
.Height = 54
.Width = 54
Lcl.Caption = ""
End With
With IPV
.Height = 54
.Width = 54
Lpv.Caption = ""
End With
With ICO
.Height = 54
.Width = 54
Lco.Caption = ""
End With
With IRE
.Height = 54
.Width = 54
Lre.Caption = ""
End With
With IEM
.Height = 54
.Width = 54
Lre.Caption = ""
End With
With IUS
.Height = 54
.Width = 54
Lus.Caption = ""
End With
With ICF
.Height = 54
.Width = 54
Lcf.Caption = ""
End With
With ICE
.Height = 54
.Width = 54
Lce.Caption = ""
End With
Lblpr.Visible = True
Lblcl.Visible = False
Lblpv.Visible = False
Lblco.Visible = False
Lblre.Visible = False
Lblem.Visible = False
Lblus.Visible = False
Lblcf.Visible = False
Lblce.Visible = False
End Sub
-----------------------------------------------------------------------------------
--------------------------------
With IPR
.Height = 54
.Width = 54
Lpr.Caption = ""
End With
With ICL
.Height = 54
.Width = 54
Lcl.Caption = ""
End With
With IPV
.Height = 54
.Width = 132
Lpv.Caption = "Proveedor"
End With
With ICO
.Height = 54
.Width = 54
Lco.Caption = ""
End With
With IRE
.Height = 54
.Width = 54
Lre.Caption = ""
End With
With IEM
.Height = 54
.Width = 54
Lre.Caption = ""
End With
With IUS
.Height = 54
.Width = 54
Lus.Caption = ""
End With
With ICF
.Height = 54
.Width = 54
Lcf.Caption = ""
End With
With ICE
.Height = 54
.Width = 54
Lce.Caption = ""
End With
Lblpr.Visible = False
Lblcl.Visible = False
Lblpv.Visible = True
Lblco.Visible = False
Lblre.Visible = False
Lblem.Visible = False
Lblus.Visible = False
Lblcf.Visible = False
Lblce.Visible = False
End Sub
-----------------------------------------------------------------------------------
--------------------------------
Private Sub IRE_MouseMove(ByVal Button As Integer, ByVal Shift As Integer, ByVal X
As Single, ByVal Y As Single)
With IPR
.Height = 54
.Width = 54
Lpr.Caption = ""
End With
With ICL
.Height = 54
.Width = 54
Lcl.Caption = ""
End With
With IPV
.Height = 54
.Width = 54
Lpv.Caption = ""
End With
With ICO
.Height = 54
.Width = 54
Lco.Caption = ""
End With
With IRE
.Height = 54
.Width = 132
Lre.Caption = "Reportes"
End With
With IEM
.Height = 54
.Width = 54
Lem.Caption = ""
End With
With IUS
.Height = 54
.Width = 54
Lus.Caption = ""
End With
With ICF
.Height = 54
.Width = 54
Lcf.Caption = ""
End With
With ICE
.Height = 54
.Width = 54
Lce.Caption = ""
End With
Lblpr.Visible = False
Lblcl.Visible = False
Lblpv.Visible = False
Lblco.Visible = False
Lblre.Visible = True
Lblem.Visible = False
Lblus.Visible = False
Lblcf.Visible = False
Lblce.Visible = False
End Sub
-----------------------------------------------------------------------------------
--------------------------------
Private Sub IUS_MouseMove(ByVal Button As Integer, ByVal Shift As Integer, ByVal X
As Single, ByVal Y As Single)
With IPR
.Height = 54
.Width = 54
Lpr.Caption = ""
End With
With ICL
.Height = 54
.Width = 54
Lcl.Caption = ""
End With
With IPV
.Height = 54
.Width = 54
Lpv.Caption = ""
End With
With ICO
.Height = 54
.Width = 54
Lco.Caption = ""
End With
With IRE
.Height = 54
.Width = 54
Lre.Caption = ""
End With
With IEM
.Height = 54
.Width = 54
Lem.Caption = ""
End With
With IUS
.Height = 54
.Width = 132
Lus.Caption = "Usuarios"
End With
With ICF
.Height = 54
.Width = 54
Lcf.Caption = ""
End With
With ICE
.Height = 54
.Width = 54
Lce.Caption = ""
End With
Lblpr.Visible = False
Lblcl.Visible = False
Lblpv.Visible = False
Lblco.Visible = False
Lblre.Visible = False
Lblem.Visible = False
Lblus.Visible = True
Lblcf.Visible = False
Lblce.Visible = False
End Sub
-----------------------------------------------------------------------------------
--------------------------------
Private Sub UserForm_MouseMove(ByVal Button As Integer, ByVal Shift As Integer,
ByVal X As Single, ByVal Y As Single)
With IPR
.Height = 54
.Width = 54
Lpr.Caption = ""
End With
With ICL
.Height = 54
.Width = 54
Lcl.Caption = ""
End With
With IPV
.Height = 54
.Width = 54
Lpv.Caption = ""
End With
With ICO
.Height = 54
.Width = 54
Lco.Caption = ""
End With
With IRE
.Height = 54
.Width = 54
Lre.Caption = ""
End With
With IEM
.Height = 54
.Width = 54
Lre.Caption = ""
End With
With IUS
.Height = 54
.Width = 54
Lus.Caption = ""
End With
With ICF
.Height = 54
.Width = 54
Lcf.Caption = ""
End With
With ICE
.Height = 54
.Width = 54
Lce.Caption = ""
End With
Lblpr.Visible = False
Lblcl.Visible = False
Lblpv.Visible = False
Lblco.Visible = False
Lblre.Visible = False
Lblem.Visible = False
Lblus.Visible = False
Lblcf.Visible = False
Lblce.Visible = False
End Sub
----------------------------------------------------
IPR - Productos
ICL - Clientes
IPV - Proveedores
ICO - Cotizaciones
IRE - Reportes
IEM - Empresa
IUS - Usuarios
ICF - Config
ICE - Cerrar
Lpr - Productos
Lcl - Clientes
Lpv - Proveedores
Lco - Cotizaciones
Lre - Reportes
Lem - Empresa
Lus - Usuarios
Lcf - Config
Lce - Cerrar
Lblpr
Lblcl
Lblpv
Lblco
Lblre
Lblem
Lblus
Lblcf
Lblce
----------------------------------------------------