Normal Topic GotoTabPage() not working? (Read 736 times)
actiontech
Full Member
***
Offline



Posts: 173
Joined: Apr 10th, 2016
GotoTabPage() not working?
Mar 29th, 2018 at 7:37pm
Print Post Print Post  
I'm using GotoTabPage(tabset_name, page_no) on Element Entry of a command button and it's not working. I'm operating code in Update mode.

My code:

Code
Select All
GotoTabPage(TabSet1, 0)
 



Tab Group looked up in Attributes Table and is "TabSet1".
Tab Page name is set to "TabPage0"
  
Back to top
 
IP Logged
 
Ray the Reaper
Global Moderator
Members
Lantica Support
*****
Offline


The One & The Only

Posts: 2480
Joined: Aug 20th, 2003
Re: GotoTabPage() not working?
Reply #1 - Mar 29th, 2018 at 7:47pm
Print Post Print Post  
The second argument is the number of the page in that group you wish to go to. I just looked at the example and can see where that could be confusing, I'll recommend to the documentation team to change that.

-Ray
  

Raymond Yoxall Consulting
ray.yoxall@gmail.com
ryoxall@lantica.com
Sesame Applications, Design and Support
Back to top
IP Logged
 
actiontech
Full Member
***
Offline



Posts: 173
Joined: Apr 10th, 2016
Re: GotoTabPage() not working?
Reply #2 - Mar 29th, 2018 at 8:42pm
Print Post Print Post  
Interesting so the tab page is actually "3" instead of "0" from TabPage0. Thank you, it's working now.
  
Back to top
 
IP Logged