A
Alain Dekker
Hi,
Using VB2003.NET.
I've got a TabControl with 3 tabs. On one tab is some status information and
on the other two tabs, some data related to settings.
I've got a timer and whenever it ticks, I see how long it has been since a
certain automatic action has occured (trying to connect to a device across
the network). When its been 20s since the last connection attempt was made,
I click a button which does the connection attempt. The button is on the 2nd
tab.
The problem I have is that if I viewing the 2nd tab, then when I call
"btnMyCutton.PerformClick()" it actually does the action, and tries to
connect. But, if I'm viewing the 1st or 3rd tabs, the click does not occur.
Whats going on here? Is this some weird property of the TabControl I have to
set or a limitation of the TabControl or a bug in VS2003.NET?
If I cannot get round this behaviour, what should I use other than a tab
control to put data and settings on different tabs?
Thanks,
Alain
Using VB2003.NET.
I've got a TabControl with 3 tabs. On one tab is some status information and
on the other two tabs, some data related to settings.
I've got a timer and whenever it ticks, I see how long it has been since a
certain automatic action has occured (trying to connect to a device across
the network). When its been 20s since the last connection attempt was made,
I click a button which does the connection attempt. The button is on the 2nd
tab.
The problem I have is that if I viewing the 2nd tab, then when I call
"btnMyCutton.PerformClick()" it actually does the action, and tries to
connect. But, if I'm viewing the 1st or 3rd tabs, the click does not occur.
Whats going on here? Is this some weird property of the TabControl I have to
set or a limitation of the TabControl or a bug in VS2003.NET?
If I cannot get round this behaviour, what should I use other than a tab
control to put data and settings on different tabs?
Thanks,
Alain