|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Focus problem with the tab controlI 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 <ngkuhlm***@scif.com> schreef in bericht Show quoteHide quote news:1159849281.844488.243320@e3g2000cwe.googlegroups.com... >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 > 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 Cor Ligthert [MVP] wrote: Show quoteHide quote > 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 > > <ngkuhlm***@scif.com> schreef in bericht > news:1159849281.844488.243320@e3g2000cwe.googlegroups.com... > >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 > > 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. :-) Noralngkuhlm***@scif.com wrote: Show quoteHide quote > 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 > > Cor Ligthert [MVP] wrote: > > 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 > > > > <ngkuhlm***@scif.com> schreef in bericht > > news:1159849281.844488.243320@e3g2000cwe.googlegroups.com... > > >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 > > >
da.update (syntax error in UPDATE statement)
VB to C# converter MDI Min Max - still there RuntimeHelpers.GetObjectValue Discussion da.update bool--> yes/no Re: Reading a list of users from XP Newbie Paint Question Writing Custom DLLs in VB.net 2 Recursive Directory / File Listing With Progress? use try catch to check a text box |
|||||||||||||||||||||||