Steve,
If the button has focus it will be above everything else.
What is the exact code in your Click()?
I put an edt on a form, and a cmd below the edt.
thisform.edit1.SetFocus()
with this
.Width = .Width * 2
.Height = .Height * 2
endwith
with this
.Width = .Width / 2
.Height = .Height / 2
endwith
click the button, the edt grows and covers the button until I hit tab.
>I have a form with a button and a Editbox. When I click on the Editbox (based on code in getfocus ),
>it becomes larger , covering the button.
>However, the button still appears on top of the Editbox. Within the form designer,
>in properties, I have removed the check from "always on top" for the button.
>Why does it not dissapear when the editbox overlaps and covers it?