i had the same situation but that was in a form designer where there is the features bring-to-front and send-to-back for all its controls ..

anyways, how did you design the grid? is that your own grid design with raw graphics or you just reused some of the standard controls such as labels?