>>>This would not work, since I use tablebuffering.
>>
>>OK, reshake the buffering for the grid's table (set it to 1 and then back to what it was) before the refresh.
>>
>>The buffering of the second instance wouldn't matter, because its changes would be flushed anyway once it was closed.
>
>If I surround refresh and all other methods with thisform.lockscreen=.t., would it stop execution of myForeCOlor, when it's not needed?
I don't think it would (it only stops the refreshes from being displayed), but you could save the forecolor settings, reset them to default and put them back when you're done.
>I don't like the idea of setting buffering to 1 and back to 5, it woyuld not work in our framework...
Why not, you set it and put it back within the same method - you're just making sure it's flushed to the disk. Maybe that part wouldn't be necessary at all.