calenna 0 Newbie Poster

i have a dialog box with a grid attached to it. No matter what I do, this dialog doesn't have focus untill after its been clicked on. In order to click on a button you have to click twice. The box is active, it just doesn't seem to have focus for some reason. I've run out of ideas. Anyone have any?