cambiar tamaño de una celda en un flexgrid o similar
Quiero que una fila en particular solo tenga una celda que ocupe todo el ancho del grip, me podeis decir que objeto debo utilizar para hacer esto y como puedo activarlo, GRACIAS
NOTA: Me serviria tambien si puedo cambiar el tamaño de una celda o algun metodo similar
NOTA: Me serviria tambien si puedo cambiar el tamaño de una celda o algun metodo similar
Pon un msflexgrid llamado MG1 y este código
Private Sub Form_Load()
MG1.Rows = 4
MG1.Cols = 3
MG1.FixedCols = 0
MG1.Col = 0
MG1.Row = 2
MG1.CellAlignment = 4
MG1.MergeCells = flexMergeRestrictRows
MG1.MergeRow(2) = True
MG1.MergeCol(2) = True
MG1.TextMatrix(2, 0) = "Titulo"
MG1.TextMatrix(2, 1) = "Titulo"
MG1.TextMatrix(2, 2) = "Titulo"
End Sub
Saludos.
Private Sub Form_Load()
MG1.Rows = 4
MG1.Cols = 3
MG1.FixedCols = 0
MG1.Col = 0
MG1.Row = 2
MG1.CellAlignment = 4
MG1.MergeCells = flexMergeRestrictRows
MG1.MergeRow(2) = True
MG1.MergeCol(2) = True
MG1.TextMatrix(2, 0) = "Titulo"
MG1.TextMatrix(2, 1) = "Titulo"
MG1.TextMatrix(2, 2) = "Titulo"
End Sub
Saludos.