Yo tengo cuatro textbox con datos , un msflexigrisd y un boton agregar, como hago para incorporar los datos de los textbox al msflexigrid,
ir agregando varios apretando agregar e ir mostrandolos
| |||
Respuesta: Como hacer para completar msflexigrid Cita: ¿Cada uno de los textbox en una columna, o cada uno en una fila?![]() |
| |||
Respuesta: Como hacer para completar msflexigrid Cita:
Código:
Private Sub Command1_Click() MSFlexGrid1.AddItem Text1 & vbTab & Text2 & vbTab & Text3 & vbTab & Text4 End Sub Private Sub Form_Load() With MSFlexGrid1 .Cols = 4 .Rows = 1 .FixedCols = 0 .TextMatrix(0, 0) = "Col1" .TextMatrix(0, 1) = "Col2" .TextMatrix(0, 2) = "Col3" .TextMatrix(0, 3) = "Col4" End With End Sub ![]() |