page (not) getting the focus

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,
When I click on a particular Page in a Tab control, I would like
something to happen (a textbox.text to take a value from another form
control). The Page_click event doesn't seem to do anything. There's no
GotFocus (as I imagine the focus goes onto one of the controls on the page).
So what do I do?

Any help much appreciated.
 
Use the Change event of the tab control and test the value of the tab
control (this will be the page that was just made active) to see if it
matches the page that you want; if yes, then do a SetFocus action.
 

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

Back
Top