dbTalk Databases Forums  

Tab-Control

comp.databases.filemaker comp.databases.filemaker


Discuss Tab-Control in the comp.databases.filemaker forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
ursus.kirk
 
Posts: n/a

Default Tab-Control - 11-04-2005 , 06:59 AM






WinXP
FM 8 Advanced

I am tinkering with the new Tab-Control, but come across some unexpected
behavior.

I have created one Tab-Control, with 4 tabs. On each tab are five fields.
Whenever I go into an other layout and go back ( al with buttons and
scripts) the tab control has its fourth tab active. I expected either the
first tab or the last-used tab to be active.

Any idea's? The tabs label-names shouldn't be an issue, but they are named
1-5, 6-10, 11-15 and 16-20.

--
Keep Well,
Ursus




Reply With Quote
  #2  
Old   
Bill Marriott
 
Posts: n/a

Default Re: Tab-Control - 11-04-2005 , 10:02 AM






It's possible that your buttons and scripts activated a field which is
contained in the fourth tab. "Going" to a field is one way to select a tab
under script control. In this case it was inadvertent.

Make sure you Commit the record/request before switching layouts.
Alternately you can deliberately activate the tab you want by going to the
appropriate field.

Bill

"ursus.kirk" <secret (AT) nowhere (DOT) com> wrote

Quote:
WinXP
FM 8 Advanced

I am tinkering with the new Tab-Control, but come across some unexpected
behavior.

I have created one Tab-Control, with 4 tabs. On each tab are five fields.
Whenever I go into an other layout and go back ( al with buttons and
scripts) the tab control has its fourth tab active. I expected either the
first tab or the last-used tab to be active.

Any idea's? The tabs label-names shouldn't be an issue, but they are named
1-5, 6-10, 11-15 and 16-20.

--
Keep Well,
Ursus






Reply With Quote
  #3  
Old   
Dan Fretwell
 
Posts: n/a

Default Re: Tab-Control - 11-04-2005 , 10:30 AM



When you return to a Layout with a tab-control the "default" tab is
open unless you take some positive action to ensure that it isn't. The
"default" tab is the tab that was open the last time you exited layout
mode into browse mode.

The way to avoid this behaviour is to open a new window when you go to
another layout and then return to the window containing your tabbed
layout.


Reply With Quote
  #4  
Old   
ursus.kirk
 
Posts: n/a

Default Re: Tab-Control - 11-05-2005 , 07:25 AM



Do I correctly understand that when I select a field inside a tab, than
click on an other tab, the selected field stays selected. (Even when the
active tab has switched)

Ursus

"Dan Fretwell" <dan (AT) owlsnet (DOT) co.uk> schreef in bericht
news:1131121817.922222.234360 (AT) z14g2000cwz (DOT) googlegroups.com...
Quote:
When you return to a Layout with a tab-control the "default" tab is
open unless you take some positive action to ensure that it isn't. The
"default" tab is the tab that was open the last time you exited layout
mode into browse mode.

The way to avoid this behaviour is to open a new window when you go to
another layout and then return to the window containing your tabbed
layout.




Reply With Quote
  #5  
Old   
ursus.kirk
 
Posts: n/a

Default Re: Tab-Control - 11-05-2005 , 08:17 AM



No and no again.

When I name the tab-labels A, B, C and D the tabcontrol behaves differently
from the former situation where they were namen 1-5, 6-10, 11-15 and 16-20.

In situation 1 the tabcontrol has allways return to its default after
switching layouts through script. In the second situation it seems like
tab-label 16-20 behaved like it is the default, when actualy 1-5 is the
default. So after a layout-switch through a script the fourth tab is active.
The script doesn't do anything else. And the tab-control doesn't behave this
way when switching layouts manually.

All very confusing.

Ursus


"Dan Fretwell" <dan (AT) owlsnet (DOT) co.uk> schreef in bericht
news:1131121817.922222.234360 (AT) z14g2000cwz (DOT) googlegroups.com...
Quote:
When you return to a Layout with a tab-control the "default" tab is
open unless you take some positive action to ensure that it isn't. The
"default" tab is the tab that was open the last time you exited layout
mode into browse mode.

The way to avoid this behaviour is to open a new window when you go to
another layout and then return to the window containing your tabbed
layout.




Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.