VERSION 5.00
Object = "{B68EC213-82B3-11D5-85C7-000083628378}#3.3#0"; "coolflex.ocx"
Begin VB.Form Form1 
   Caption         =   "Form1"
   ClientHeight    =   3195
   ClientLeft      =   60
   ClientTop       =   345
   ClientWidth     =   4395
   LinkTopic       =   "Form1"
   ScaleHeight     =   3195
   ScaleWidth      =   4395
   StartUpPosition =   3  'Windows Default
   Begin VB.CommandButton Command2 
      Caption         =   "Command2"
      Height          =   375
      Left            =   2760
      TabIndex        =   2
      Top             =   2280
      Width           =   975
   End
   Begin VB.CommandButton Command1 
      Caption         =   "Command1"
      Height          =   375
      Left            =   720
      TabIndex        =   1
      Top             =   2280
      Width           =   975
   End
   Begin CoolFlexGrid.CoolFlex CoolFlex1 
      Height          =   1575
      Left            =   720
      TabIndex        =   0
      Top             =   480
      Width           =   3015
      _ExtentX        =   5318
      _ExtentY        =   2778
   End
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
With CoolFlex1
.Cols = 2
.Rows = 4
.BackColor = &H8000000F
.ColType 1, eCheckbox
'.ComboBoxAddItem 1, "SI"
'.ComboBoxAddItem 1, "NO"

.EditEnable = True
.Col = 1
.Row = 1
.Text = "U"
End With

End Sub

Private Sub Command2_Click()
With CoolFlex1
.Col = 1
.Row = 1

.WordWrap = True
If .Text = "C" Then .Text = "U": Exit Sub
If .Text = "U" Then .Text = "C": Exit Sub

End With
End Sub



Private Sub CoolFlex1_EnterCell(Rowsel As Long, Colsel As Long, Value As String)
'MsgBox "Este es el Valor en la columna :" & ColIndex & " : " & Value
'Value = "1"

End Sub

