Focus problem with the tab control

  • Thread starter Thread starter ngkuhlmann
  • Start date Start date
N

ngkuhlmann

I have a strange problem.

I have a tab control with 5 tabs. When I click one of the tabs the tab
show its information just fine, however when I test the focus, without
moving and within a timer control, the focus returns a false.

Any thoughts?

TIA,
Noral
 
Noral,

The focus is only given back for a control that real is visible on the
screen, this is an normal asked question, can that be your problem as well?

Cor
 
Thank you for your comment, but no this is not the problem.

Just to be a little more clear. Lets say tab2 has focus...then the
timer_tick subroutine fires, when I check focus on tab2 (tab2.focused)
it is false. Nothing has happend except the timer_tick subroutine
firing.

Noral
 
OK...it's late...I solved my own problem. This tab, tab2, does not
have any input controls...so therefore of course tab2.focused would
return false...I wanted tab2.focus. Hmmmmm Time for a Mt Dew or sleep.
:-)

Noral
 
Back
Top