>is is possible to programatically bring a control to the front on a form? i have a couple of grids which can sometimes be overlapped. as you go through the records of one, records change in the other. the wierd thing is that only the header band of the main grid overlaps the second grid, so i thought that i could try format.'bring to front' on the second grid as it is refreshed...
>tia - john
I have a grid that I leave behind other controls, but when I need it I set the ZOrder(0) which brings it to the front and then I ZOrder(1) to put it back.
Code to bring it forward:
This.Enabled = .T.
This.Visible = .T.
This.ZOrder(0)
Code to put it back
THIS.ENABLED = .F.
THIS.VISIBLE = .F.
THIS.ZOrder(1)
Bret Hobbs
"We'd have been called juvenile delinquents only our neighborhood couldn't afford a sociologist." Bob Hope