ticdice

Page 109

GRID.col = c GRID_Click End If If KeyCode = 38 And Shift = 0 Then 'FLECHA PA ARRIBA c = GRID.col f = GRID.Row If f = 1 Then Exit Sub f=f-1 GRID.Row = f GRID.col = c GRID_Click End If

End Sub Private Sub txt_KeyPress(KeyAscii As Integer) KeyAscii = SoloNumero(KeyAscii) End Sub Private Sub txt_KeyUp(KeyCode As Integer, Shift As Integer) Clipboard.Clear Clipboard.SetText "" End Sub Private Sub txt_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single) Clipboard.Clear Clipboard.SetText "" End Sub 1.13 FORMULARIO INFORME DE NOTAS RESUMIDO X MATERIAS Y TRIMESTRES Dim d_grid(100) As DATOS_GRID Dim Libro As Excel.Workbook Dim HOJA As Excel.Worksheet Private Sub cmb_grado_Click() If cmb_grado.ListIndex = -1 Then Exit Sub LLENACOMBO cmb_paralelo, "select codigo,nombre from paralelo where grado='" & ExtraeIDCombo(cmb_grado) & "' and periodo='" & ExtraeIDCombo(cmb_periodo) & "'" LLENACOMBO cmb_materia, "select codigo,abreviatura from materias where CODIGO IN(SELECT MATERIA FROM MATERIA_GRADO WHERE periodo='" & ExtraeIDCombo(cmb_periodo) & "' and grado='" & ExtraeIDCombo(cmb_grado) & "')" End Sub

70


Issuu converts static files into: digital portfolios, online yearbooks, online catalogs, digital photo albums and more. Sign up and create your flipbook.