VERSION 5.00 Begin VB.Form frmLista BorderStyle = 0 'None ClientHeight = 1620 ClientLeft = 0 ClientTop = 0 ClientWidth = 1935 Icon = "Lista.frx":0000 LinkTopic = "Form1" MaxButton = 0 'False MinButton = 0 'False ScaleHeight = 1620 ScaleWidth = 1935 ShowInTaskbar = 0 'False StartUpPosition = 3 'Windows Default Begin VB.ListBox lstLista Height = 1230 Left = 0 TabIndex = 0 Top = 0 Width = 1815 End Begin VB.CommandButton cmdCerrar Caption = "&Cerrar" BeginProperty Font Name = "Arial" Size = 8.25 Charset = 0 Weight = 400 Underline = 0 'False Italic = 0 'False Strikethrough = 0 'False EndProperty Height = 255 Left = 0 Style = 1 'Graphical TabIndex = 1 Top = 1320 Width = 1935 End End Attribute VB_Name = "frmLista" Attribute VB_GlobalNameSpace = False Attribute VB_Creatable = False Attribute VB_PredeclaredId = True Attribute VB_Exposed = False Option Explicit Public sSelecc As String Private Sub cmdCerrar_Click() Me.Hide End Sub Private Sub Form_Load() cmdCerrar.Top = Me.Height - cmdCerrar.Height lstLista.Width = Me.ScaleWidth lstLista.Height = Me.ScaleHeight - cmdCerrar.Height + 100 lstLista.Clear End Sub Private Sub lstLista_Click() If lstLista.SelCount > 0 Then sSelecc = lstLista.Text Else sSelecc = "" End If Me.Hide End Sub