VERSION 5.00
Begin VB.Form frmSelRegVentDetals 
   BorderStyle     =   3  'Fixed Dialog
   Caption         =   "Registro de Ventas Detallado"
   ClientHeight    =   2895
   ClientLeft      =   45
   ClientTop       =   330
   ClientWidth     =   3600
   Icon            =   "frmSelRegVentDetals.frx":0000
   LinkTopic       =   "Form1"
   LockControls    =   -1  'True
   MaxButton       =   0   'False
   MinButton       =   0   'False
   ScaleHeight     =   2895
   ScaleWidth      =   3600
   ShowInTaskbar   =   0   'False
   StartUpPosition =   2  'CenterScreen
   Begin VB.CommandButton cmdAceptar 
      Caption         =   "Aceptar"
      Height          =   375
      Left            =   1193
      TabIndex        =   1
      Top             =   2370
      Width           =   1215
   End
   Begin VB.Frame Frame1 
      Caption         =   "Tipo de Pago"
      Height          =   2100
      Left            =   113
      TabIndex        =   0
      Top             =   90
      Width           =   3375
      Begin VB.OptionButton optCred 
         Caption         =   "Credito"
         Height          =   255
         Left            =   960
         TabIndex        =   4
         Top             =   1440
         Width           =   1215
      End
      Begin VB.OptionButton optCont 
         Caption         =   "Contado"
         Height          =   255
         Left            =   960
         TabIndex        =   3
         Top             =   960
         Width           =   1815
      End
      Begin VB.OptionButton optContCredit 
         Caption         =   "Credito y Contado"
         Height          =   255
         Left            =   960
         TabIndex        =   2
         Top             =   480
         Value           =   -1  'True
         Width           =   1575
      End
      Begin VB.Image picIcono 
         Height          =   480
         Left            =   240
         Picture         =   "frmSelRegVentDetals.frx":000C
         Top             =   480
         Width           =   480
      End
   End
End
Attribute VB_Name = "frmSelRegVentDetals"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Public tipoPago As Integer

Private Sub cmdAceptar_Click()
    'Validando el tipo de pago
    If optContCredit.Value = True Then
       tipoPago = 1 'Contado y Credito
    End If
    If optCont.Value = True Then
       tipoPago = 0 'Contado
    End If
    If optCred.Value = True Then
       tipoPago = 2 'Credito(Ahora Ticket Factura Credito)
    End If
    
    'salir de la ventana
    Unload Me
    Screen.MousePointer = 11
End Sub


Private Sub Form_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
Screen.MousePointer = 0
End Sub


Private Sub Frame1_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
Screen.MousePointer = 0
End Sub


