That will work if the Grid is a child control of the form in which case you can use the Anchor editor .
But I am thinking this is not the case..
Lets assume it is not, you can use the ClientToScreen function in the BUtton to obtain absolute screen cords and set the form for the grid using those factors since the form works from screen cords.