Normal Topic conditional - navigation  between Tabs and Fields (Read 1965 times)
Amor
Full Member
Members
***
Offline


No personal text

Posts: 366
Location: Germany
Joined: Feb 7th, 2004
conditional - navigation  between Tabs and Fields
Apr 7th, 2006 at 11:32am
Print Post Print Post  
Hello!

I use many tabs in my Applications.
how can i use a conditional - navigation  to  open another tab and throwfocus to a field in it ?

So, What i need to do is to help and oblige the user to fill  the obligatory fields in different  tabs.

That way the user has to make the first entry and then Sesame will help with the Navigation to the next  tabs/Fields.

Any ideas?

Thanks!

« Last Edit: Apr 7th, 2006 at 4:58pm by Amor »  

Dr. med. Amor Belhareth&&Medizin Labor &&Germany
Back to top
 
IP Logged
 
Carl Underwood
Senior Member
Members
*****
Offline



Posts: 1350
Location: New Hampshire
Joined: Mar 11th, 2003
Re:  conditional - navigation  between Tabs and Fi
Reply #1 - Apr 7th, 2006 at 1:17pm
Print Post Print Post  
The change log indicates that ThrowFocus should open the tab. But I just tested it, and it did NOT seem to work. Maybe one of the Lanticans can enlighten us.

http://www.lantica.com/Support/sesame_change_log.html
Quote:
ThrowFocus changes the current tab (if need be).

  


Carl Underwood
CDU Computer Consulting LLC
Epsom, New Hampshire
Back to top
IP Logged
 
Carl Underwood
Senior Member
Members
*****
Offline



Posts: 1350
Location: New Hampshire
Joined: Mar 11th, 2003
Re:  conditional - navigation  between Tabs and Fi
Reply #2 - Apr 7th, 2006 at 1:42pm
Print Post Print Post  
CORRECTION:
Never mind the previous post. I had some of the test elements set to Read-Only. Duh! Roll Eyes

ThrowFocus works as advertised in the change log.
  


Carl Underwood
CDU Computer Consulting LLC
Epsom, New Hampshire
Back to top
IP Logged
 
Carl Underwood
Senior Member
Members
*****
Offline



Posts: 1350
Location: New Hampshire
Joined: Mar 11th, 2003
Re:  conditional - navigation  between Tabs and Fi
Reply #3 - Apr 7th, 2006 at 1:55pm
Print Post Print Post  
Amor,

Do you want to open a tab that is on the same form, or open another Sesame tab that displays another form?

If you just need to send the user to an element on a tab that is on the same form, ThrowFocus will open the tab and place them in the target LE.

If you want to open another form, that can be done also. But I'm pretty sure you're asking about the former issue.
  


Carl Underwood
CDU Computer Consulting LLC
Epsom, New Hampshire
Back to top
IP Logged
 
Amor
Full Member
Members
***
Offline


No personal text

Posts: 366
Location: Germany
Joined: Feb 7th, 2004
Re:  conditional - navigation  between Tabs and Fi
Reply #4 - Apr 7th, 2006 at 4:27pm
Print Post Print Post  
Hello Carl,

Exactly  i want to open a tab that is on the same form.
I must say that i have tabs in tab and
Throwfocus migrate to the Field but does not open the 2. level tab!


Thank you.



  

Dr. med. Amor Belhareth&&Medizin Labor &&Germany
Back to top
 
IP Logged
 
Carl Underwood
Senior Member
Members
*****
Offline



Posts: 1350
Location: New Hampshire
Joined: Mar 11th, 2003
Re:  conditional - navigation  between Tabs and Fi
Reply #5 - Apr 7th, 2006 at 6:42pm
Print Post Print Post  
There must be something specific to your application. I can ThrowFocus to an element 4 levels deep on tabs. And I'm not talking about having just one TabPage with 4 tabs. I'm talking about stacking 4 TabPages on top of (or inside of) one another.

As you can see in my previous posts, I got fooled into thinking (at first) that ThrowFocus would not open a tab, but it turned out that some of the LEs I was testing with were read-only. So check for that.

Also, if one of the LEs that you want to navigate out of is the last one in the navigation order, that may stop focus from moving to the next LE. You can check this by clicking on Change Navigation Order in the Commands task window. You need to select your TabPages via the Select an element group: drop-down.
  


Carl Underwood
CDU Computer Consulting LLC
Epsom, New Hampshire
Back to top
IP Logged