Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid Column hide & lock size
Message
From
16/11/2002 12:02:36
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00723546
Message ID:
00723551
Views:
8
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.
Previous
Reply
Map
View

Click here to load this message in the networking platform