*Bring to front* a checkbox by code?

R

Robby

Hi,
I have a command button on a form with text on it, and ON THE BUTTON I
placed a check box control. In other words I see my button with a check box
on it. If the check box is checked, this means there is something to be
viewed, and therefore the user can click on the button and get the info.

However my problem is that when the user clicks on it, the check box
disappears under the button.

Once the user clicks the button, By code, can I bring to front my check box
the way it was?

Does anyone have a solution to this.
Thanking u all in advance
ROBERT
 
K

Ken Snell [MVP]

The checkbox likely disappears because the focus is shifted to the button.
In the click event of the button, move the focus to the checkbox and it'll
reappear.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top