Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid Column hide & lock size
Message
De
16/11/2002 12:02:36
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00723546
Message ID:
00723551
Vues:
9
Hi Mel

If I remember correctly this behaviour had something to do with the grid needing to lose focus and then regain focus before it would show the necessary changes? I stand to be corrected by the UT Fox meisters but in your INIT method try to move focus off the grid to another form object and then move the focus back again and see if that does the trick.

Another alternative might be to set the GRID.VISIBLE property to .F. in the form designer. Then in the INIT method do your COLUMN tests/changes and then change the VISIBLE property back to .T.

Jos

>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?
>
In the End, we will remember not the words of our enemies, but the silence of our friends - Martin Luther King, Jr.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform