Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid Column hide & lock size
Message
 
 
À
16/11/2002 10:40:05
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00723546
Message ID:
00723550
Vues:
8
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
Fil
Voir

Click here to load this message in the networking platform