Estoy tratando de que las columnas de un GRID sean del ancho del contenido,
pero me las deja de un cierto ancho fijo. Si doy doble click en el separador de
la columna, si lo deja bien. Cual sería la forma correcta ?
Lo hago se la siguiente forma.
----------------------------------------------------------------------------------------
I'm trying to get the columns in a GRID are the width of the content,
but I let a certain fixed width. If I double click on the separator
column, if it makes it. What would be the correct way?
I do it is as follows.
Code: Select all
FOR i1 = 1 TO LEN( aHeaders )
SetProperty( cForm, "GRID_X", "ColumnWIDTH", i1, GRID_WIDTH_AUTOSIZE ) // GRID_WIDTH_AUTOSIZEHEADER <==== Con esto, OK
NEXT
Otro detalle