Ver Mensaje Individual
  #4 (permalink)  
Antiguo 24/11/2006, 18:01
Improvisado
 
Fecha de Ingreso: junio-2003
Mensajes: 111
Antigüedad: 20 años, 11 meses
Puntos: 0
El ejemplo que tengo a mano es para el MSHFlexgrid:
' En la linea siguiente le coloco el encabezado a las columnas
gridDetalle.FormatString = " |Cantidad |> Id. |<Nombre |>Precio Unitario |> Alicuota IVA |>% Base IVA |> Precio Neto "

' En las lineas siguientes le seteo el ancho de las columnas
gridDetalle.ColWidth(0, 0) = 300
gridDetalle.ColWidth(1, 0) = 1200
gridDetalle.ColWidth(2, 0) = 1000
gridDetalle.ColWidth(3, 0) = 3200
gridDetalle.ColWidth(4, 0) = 1400
gridDetalle.ColWidth(5, 0) = 1200
gridDetalle.ColWidth(6, 0) = 1200
gridDetalle.ColWidth(7, 0) = 1800
gridDetalle.ColWidth(8, 0) = 1000
gridDetalle.ColWidth(9, 0) = 1000

' en la línea siguiente le coloco 0 al alto de fila entonces no se vería

griddetalle.RowHeight(10) = 0

Este control necesariamente no funciona enlazado a datos asi que también podes borrar la fila si queres. Si es para mostrar mas de 2000 registros tiene problemas en las Faq's hay un mensaje que te dice como solucionarlo, yo lo vi pero no lo aplique.
Saludos