Normal Topic Tab page question (Read 1102 times)
Rather be outside
Member
*
Offline



Posts: 12
Joined: Jan 25th, 2007
Tab page question
Aug 17th, 2007 at 9:48pm
Print Post Print Post  
I have a Sesame 1.4 form with several tab pages.
Using a custom menu, is there a way to enter search mode and display a tab page other than the first one?
  
Back to top
 
IP Logged
 
Bob_Hansen
Senior Member
Members
*****
Offline


WOW, They have the Internet
on computers now!

Posts: 1861
Location: Salem, NH
Joined: Nov 24th, 2002
Re: Tab page question
Reply #1 - Aug 18th, 2007 at 12:06am
Print Post Print Post  
Your button could set a Global Variable (GV) and open the desired form.
You could put programming in FormEntry to check the GV.
If GV exists, you could Clear the GV, and then ThrowFocus to the first element on that tab.

To expand on that idea, you could have the button prompt you for the desired tab (or separate buttons for each tab), and could set GV to different values.  The OnFormEntry program could ThrowFocus to different Tabs, based on the value of GV.

  



Bob Hansen
Sesame Database Manager Professional
Sensible Solutions Inc.
Salem, NH
603-898-8223
Skype ID = sensiblesolutions
Back to top
IP Logged
 
Rather be outside
Member
*
Offline



Posts: 12
Joined: Jan 25th, 2007
Re: Tab page question
Reply #2 - Aug 18th, 2007 at 12:56am
Print Post Print Post  
As a below-average Sesame user, that will take a little research, but I get the idea.  From Alton to Salem, thanks.
  
Back to top
 
IP Logged
 
Bob_Hansen
Senior Member
Members
*****
Offline


WOW, They have the Internet
on computers now!

Posts: 1861
Location: Salem, NH
Joined: Nov 24th, 2002
Re: Tab page question
Reply #3 - Aug 18th, 2007 at 2:28pm
Print Post Print Post  
From Salem to Alton, should I be adding your name to SANE invitations?
  



Bob Hansen
Sesame Database Manager Professional
Sensible Solutions Inc.
Salem, NH
603-898-8223
Skype ID = sensiblesolutions
Back to top
IP Logged
 
BOBSCOTT
Senior Member
Members
*****
Offline


That Darn Computer #$X#
{curse words}

Posts: 1195
Joined: Nov 22nd, 2002
Re: Tab page question
Reply #4 - Aug 18th, 2007 at 3:20pm
Print Post Print Post  
Quote:
is there a way to enter search mode and display a tab page other than the first one?


You may want to consider using Sesame 2.0 it has lots of great new features and the new  GotoTabPage() command will make doing what you want a breeze! Smiley

The GotoTabPage command displays the specified tab page in the specified tab group. It takes two arguments: the destination tab group and the tab page number within that group to go to.

Example


If ProductID > 1000
{
     GotoTabPage(LE17, 4)
}


In above example, the Static Tab Set is named "LE17" and the goto tab page is "TabPage4".
  

Team – Together Everyone Achieves More
Back to top
 
IP Logged
 
Infinity
Senior Member
Members
*****
Offline


Diagonally parked in a
parallel dimension

Posts: 1290
Location: Massachusetts
Joined: May 27th, 2005
Re: Tab page question
Reply #5 - Aug 18th, 2007 at 7:23pm
Print Post Print Post  
Quote:
Example


If ProductID > 1000
{
     GotoTabPage(LE17, 4)
}


In above example, the Static Tab Set is named "LE17" and the goto tab page is "TabPage4".


Now where have I seen this before?   Wink

See my post of August 8 as to why the 4 may not be (and probably isn't) "TabPage4"
http://www.lantica.com/Forum3/cgi-bin/yabb2/YaBB.pl?num=1186587279
  

**
Captain Infinity
Back to top
IP Logged
 
Rather be outside
Member
*
Offline



Posts: 12
Joined: Jan 25th, 2007
Re: Tab page question
Reply #6 - Aug 18th, 2007 at 9:59pm
Print Post Print Post  
Bob_Hansen wrote on Aug 18th, 2007 at 2:28pm:
From Salem to Alton, should I be adding your name to SANE invitations?


Had to find out what SANE is.  I would  appreciate that.
  
Back to top
 
IP Logged
 
Bob_Hansen
Senior Member
Members
*****
Offline


WOW, They have the Internet
on computers now!

Posts: 1861
Location: Salem, NH
Joined: Nov 24th, 2002
Re: Tab page question
Reply #7 - Aug 18th, 2007 at 10:45pm
Print Post Print Post  
I guess I passed the Alton test since you asked to be included.

And you passed the test.  You found out what SANE is, so now you are on the mailing list. 

See you at our next meeting on Nov 3.
  



Bob Hansen
Sesame Database Manager Professional
Sensible Solutions Inc.
Salem, NH
603-898-8223
Skype ID = sensiblesolutions
Back to top
IP Logged