>>>I have a grid class that creates an image on its header bars. The image is either an up arrow or down arrow to display which column the grid is sorted by and whether it is accending or decending. My problem is that after leaving the grid, the image is no longer visble. Using the event log the last grid event that occurs in this case is the paint event. I have put code in the grid refresh to redisplay the image but it still disappears. How can I make an image control to be visible at all times?
>>
>>Did you try Image.ZOrder(0) at the end of grid refresh? It usually helps for the case of overimposed controls.
>
>I tried it just now with no help.
I would advise to make a test: add a button with Thisform.Image1.ZOrder(0) in click event, i.e. try to bring image up from separate place (you can also try Thisform.Grid.ZOrder(1)).
Edward Pikman
Independent Consultant