Hi Christof
Thanks. That was an interesting one.
>Hi Kamel,
>
>>If you try controlling the SpecialEffect property setting from the timer it dosn't work. (Don't ask me why < g > )
>
>That's one of the nice optimizations build right into VFP. VFP doesnt always repaint those objects when you change a property. By setting the Visible property you can force VFP to redraw it. Put the following code into the click event of a container to see what I mean:
>
>This.SpecialEffect = Iif(This.SpecialEffect=0,1,0)
>This.Visible = .T.
>This is true for a number of other occassions where VFP doesn't update a control properly.
>
>Christof