01-13-2018 12:17 AM
hi all
i have project with 10 pages in tab control. i want to automatically any specific tab page should come active after some time.
How can i do that?
tHANKS
01-13-2018 02:14 AM
hi,
check this block-diagram....
Use Event Structure & Time-out to change back to default page. Default page mentioned by page Number (Here 0) .
01-13-2018 02:43 AM
@Asif138 wrote:
hi all
i have project with 10 pages in tab control. i want to automatically any specific tab page should come active after some time.
How can i do that?
tHANKS
If you have a project where you need use 10 TAB pages, you might be just better using SubPanels. Reduces BD elements, easier scalable, easier debuggable...
01-13-2018 03:14 AM - edited 01-13-2018 03:31 AM
Should it always be automatic or should the user also be able to change tabs manually? If so, it cannot be an indicator as in the answer earlier, it needs to be a control. To change tabs programmatically, write to a local variable of the tab control.
Do you simply want to go back to a certain page after a defined time of inactivity? Make sure to add a value change event for the tab control to reset the timeout whenever it is operated, then reset the tab only if it has not been operated for x seconds.
Many times you also need to use the timeout for other things. I would use a big event structure & loop for the main user interface and place the attached code in parallel, just dealing with the tab.
01-13-2018 03:18 AM
thank u...
i missed that...