Information générale
Catégorie:
Codage, syntaxe et commandes
Hi Jos,
>1) I think you need to put the test for whether a column should be visible or not in the COLUMN.INIT event. This should then have THIS.VISIBLE = .T. or .F.<
It doesn't seem to make any difference. It still comes up with the column, the only thing is the column is empty - just like in the grid.Init().
Any other suggestion?
>Alternatively, you can also allow the user to resize the column but then use the COLUMN.RESIZE EVENT to test whether the new size is less than what you will allow and, if so, reset it to your own COLUMN.WIDTH.<
Now, this was close to what I was after - but not quite. The column did go to a width = 0 when the user tried to resize it, but up till then it was just an empty column.
Mel Cummings
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement