Thanks for your reply, Chip.

If I’m understanding you correctly, Tab manager(Tab_Control) does the work of 
loading related-record data after a record-change button action (next, 
previous, etc) on an input form, and your experience is that the related data 
would not load otherwise. Am I getting that correct?

If that’s the case then all I can say is my experience with v12 for a 
continuous string of years has been different. I’ll go back and recheck form 
and object methods just to be sure… and report back if I find anything. In any 
event, thanks for your reply.

max


> On Jan 16, 2017, at 6:11 AM, Chip Scheide <[email protected]> wrote:
> 
> no this is not the case, in v12 even.
> Tab controls are arrays, as such, if you/user selects a tab and you do 
> not clear/reinitialize the array between record access, then it has the 
> last selected tab as default.
> ex (pseudo code):
> 
> :(on load)
> if (size of array(tab_control)=0)
>   array text(tab_control;5)
>   list to array("Entry_tab_Titles";Tab_Control)
>   Tab_Control:=1
> end if
> Tab_Manager(tab_Control) // does work to display correct info on tab 
> page 
> 
> then on the second access of the entry form (next/previous record) the 
> tab control will still have whatever value the user last selected, and 
> the above code will setup the tab accordingly.
> 
> On Fri, 13 Jan 2017 13:48:41 -0900, Max Morrison wrote:
>> 
>> First, I’d like to verify a possible change in behavior going from 
>> v12 to v15… It use to be the case that Tab Controls would maintain 
>> the currently displayed page across new-record load events, on an 
>> input form. In other words, an input form is displaying a record with 
>> a tab control on page 2. In v12 when I click the next record button 
>> the next record displays with page 2 of the tab control still active 
>> and highlighted. In v15 my tab control is reverting to page 1. Is 
>> this behavior the same for all or just me?
> **********************************************************************
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: http://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:[email protected]
> **********************************************************************

**********************************************************************
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:[email protected]
**********************************************************************

Reply via email to