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.
 
Back
Top