I have a window with a user object on it. The user object is a tab control. I have logic in the open event of the window and based on certain logic I want to select a specific tab.
I've used the follwoing logic and both do not work:
tab_1.selectedtab = 3
OR
tab_1.selecttab(3)
What happens when the window opens, for a split second the right tab gets selected than automatically gos back to the first tab.
Why does it select the correct tab for a second and then selects the first tab?
How do I correct this so the proper tab is selected depending on the open event logic?
I'm using PB6.5
I've used the follwoing logic and both do not work:
tab_1.selectedtab = 3
OR
tab_1.selecttab(3)
What happens when the window opens, for a split second the right tab gets selected than automatically gos back to the first tab.
Why does it select the correct tab for a second and then selects the first tab?
How do I correct this so the proper tab is selected depending on the open event logic?
I'm using PB6.5