dbTalk Databases Forums  

Tab selection by calculation

comp.databases.filemaker comp.databases.filemaker


Discuss Tab selection by calculation in the comp.databases.filemaker forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
JF
 
Posts: n/a

Default Tab selection by calculation - 12-27-2006 , 07:30 PM






Hi

it's it possible to make in FM8.5 a Tab Control field with many Tab and
blocking acces to one Tab unless a criteria is valid ?? (If
validation;GoObject tab1;GoObject tab2)

I try to draw a button above the Tab itself and make a validation using
GoToObject, but when pressing the button, it select the Tab under the button
no matter what is the order (Front or Back).

Is it possible ? or another way around ?

Thank you

JF




Reply With Quote
  #2  
Old   
Ursus
 
Posts: n/a

Default Re: Tab selection by calculation - 12-28-2006 , 03:08 AM






You have to work around that. Create a global field for each of the tabs you
need to go to. Place one field one each tab. Make it as small as possible.
(font 1 point). In your script use a <go to field> step. For this one you
could also use a repeating field, placing just one repetition on each tab
then with your script also defining to wich repetition it should go.

Ursus

"JF" <bizouman_takethisout (AT) hotmail (DOT) com> schreef in bericht
news:h7Fkh.47946$Ld4.864101 (AT) wagner (DOT) videotron.net...
Quote:
Hi

it's it possible to make in FM8.5 a Tab Control field with many Tab and
blocking acces to one Tab unless a criteria is valid ?? (If
validation;GoObject tab1;GoObject tab2)

I try to draw a button above the Tab itself and make a validation using
GoToObject, but when pressing the button, it select the Tab under the
button no matter what is the order (Front or Back).

Is it possible ? or another way around ?

Thank you

JF






Reply With Quote
  #3  
Old   
JF Fortier
 
Posts: n/a

Default Re: Tab selection by calculation - 12-28-2006 , 08:40 AM



Sorry but I don't get it ?? maybe your right but I dont get how putting a
small small field on the tab will prevent me accessing this tab ??

I know how to scipt and get to the right Tab, when I want from anywhere....
but I want to block acces to one tab, and only give acces if a validation is
true ?? so when the tab is press it alway go to that tab, no matter what I
put above it ? if it's like the tab have priority on every thing else.....


"Ursus" <ursus.kirk (AT) wanadoo (DOT) nl> a écrit dans le message de news:
4593899d$0$59237$dbd43001 (AT) news (DOT) wanadoo.nl...
Quote:
You have to work around that. Create a global field for each of the tabs
you need to go to. Place one field one each tab. Make it as small as
possible. (font 1 point). In your script use a <go to field> step. For
this one you could also use a repeating field, placing just one repetition
on each tab then with your script also defining to wich repetition it
should go.

Ursus

"JF" <bizouman_takethisout (AT) hotmail (DOT) com> schreef in bericht
news:h7Fkh.47946$Ld4.864101 (AT) wagner (DOT) videotron.net...
Hi

it's it possible to make in FM8.5 a Tab Control field with many Tab and
blocking acces to one Tab unless a criteria is valid ?? (If
validation;GoObject tab1;GoObject tab2)

I try to draw a button above the Tab itself and make a validation using
GoToObject, but when pressing the button, it select the Tab under the
button no matter what is the order (Front or Back).

Is it possible ? or another way around ?

Thank you

JF








Reply With Quote
  #4  
Old   
Ursus
 
Posts: n/a

Default Re: Tab selection by calculation - 12-29-2006 , 03:41 AM



Sorry,

I have understood your question wrong. I don't think you can actualy block
one tab of a tab-object. The one thing I can think about is creating a
duplicate layout. Where everything looks the same, but where the fields on
the tab you want to be blocked are greyed out and inaccesable for
data-entry. Then a script could figure out where to go.

I realise this is not what you asked, but just might do the trick.

Ursus


"JF Fortier" <climatisationfortier-removespam (AT) videotron (DOT) ca> schreef in
bericht news:zJQkh.16$Nh.5459 (AT) wagner (DOT) videotron.net...
Quote:
Sorry but I don't get it ?? maybe your right but I dont get how putting a
small small field on the tab will prevent me accessing this tab ??

I know how to scipt and get to the right Tab, when I want from
anywhere.... but I want to block acces to one tab, and only give acces if
a validation is true ?? so when the tab is press it alway go to that tab,
no matter what I put above it ? if it's like the tab have priority on
every thing else.....


"Ursus" <ursus.kirk (AT) wanadoo (DOT) nl> a écrit dans le message de news:
4593899d$0$59237$dbd43001 (AT) news (DOT) wanadoo.nl...
You have to work around that. Create a global field for each of the tabs
you need to go to. Place one field one each tab. Make it as small as
possible. (font 1 point). In your script use a <go to field> step. For
this one you could also use a repeating field, placing just one
repetition on each tab then with your script also defining to wich
repetition it should go.

Ursus

"JF" <bizouman_takethisout (AT) hotmail (DOT) com> schreef in bericht
news:h7Fkh.47946$Ld4.864101 (AT) wagner (DOT) videotron.net...
Hi

it's it possible to make in FM8.5 a Tab Control field with many Tab and
blocking acces to one Tab unless a criteria is valid ?? (If
validation;GoObject tab1;GoObject tab2)

I try to draw a button above the Tab itself and make a validation using
GoToObject, but when pressing the button, it select the Tab under the
button no matter what is the order (Front or Back).

Is it possible ? or another way around ?

Thank you

JF










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

Default Re: Tab selection by calculation - 12-29-2006 , 10:09 AM



You can have far more control of tabs by using a combination of tabs and
buttons.

The way it works is that you set the tabs to use a very small font -- 1pt --
and a single space character as the text label for each tab. Set the text
color to the same as the background color, and the border to none. Give each
tab a name using the object inspector. Then you set up buttons to be the
actual means of navigation to the tabs, using scripts, calculations, and the
go to layout object script step.

This method lets you control which tabs are "enabled" and also permits
things like having a vertical arrangement of tabs and other flexibility.



"Ursus" <ursus.kirk (AT) wanadoo (DOT) nl> wrote

Quote:
Sorry,

I have understood your question wrong. I don't think you can actualy block
one tab of a tab-object. The one thing I can think about is creating a
duplicate layout. Where everything looks the same, but where the fields on
the tab you want to be blocked are greyed out and inaccesable for
data-entry. Then a script could figure out where to go.

I realise this is not what you asked, but just might do the trick.

Ursus


"JF Fortier" <climatisationfortier-removespam (AT) videotron (DOT) ca> schreef in
bericht news:zJQkh.16$Nh.5459 (AT) wagner (DOT) videotron.net...
Sorry but I don't get it ?? maybe your right but I dont get how putting a
small small field on the tab will prevent me accessing this tab ??

I know how to scipt and get to the right Tab, when I want from
anywhere.... but I want to block acces to one tab, and only give acces if
a validation is true ?? so when the tab is press it alway go to that tab,
no matter what I put above it ? if it's like the tab have priority on
every thing else.....


"Ursus" <ursus.kirk (AT) wanadoo (DOT) nl> a écrit dans le message de news:
4593899d$0$59237$dbd43001 (AT) news (DOT) wanadoo.nl...
You have to work around that. Create a global field for each of the tabs
you need to go to. Place one field one each tab. Make it as small as
possible. (font 1 point). In your script use a <go to field> step. For
this one you could also use a repeating field, placing just one
repetition on each tab then with your script also defining to wich
repetition it should go.

Ursus

"JF" <bizouman_takethisout (AT) hotmail (DOT) com> schreef in bericht
news:h7Fkh.47946$Ld4.864101 (AT) wagner (DOT) videotron.net...
Hi

it's it possible to make in FM8.5 a Tab Control field with many Tab and
blocking acces to one Tab unless a criteria is valid ?? (If
validation;GoObject tab1;GoObject tab2)

I try to draw a button above the Tab itself and make a validation using
GoToObject, but when pressing the button, it select the Tab under the
button no matter what is the order (Front or Back).

Is it possible ? or another way around ?

Thank you

JF












Reply With Quote
  #6  
Old   
JF Fortier
 
Posts: n/a

Default Re: Tab selection by calculation - 12-29-2006 , 11:40 AM



Haaaa Now I get it !!

So you don't see the original tab because they are so small, you fake some
new tabs with buttons !! wow ! this is why this forum exist ! Great mind
help other to become greater !! :O)


JF




"Bill Marriott" <wjm (AT) wjm (DOT) org> a écrit dans le message de news:
dJGdneRtTIJdoAjYnZ2dnUVZ_tmknZ2d (AT) comcast (DOT) com...
Quote:
You can have far more control of tabs by using a combination of tabs and
buttons.

The way it works is that you set the tabs to use a very small font --
1pt -- and a single space character as the text label for each tab. Set
the text color to the same as the background color, and the border to
none. Give each tab a name using the object inspector. Then you set up
buttons to be the actual means of navigation to the tabs, using scripts,
calculations, and the go to layout object script step.

This method lets you control which tabs are "enabled" and also permits
things like having a vertical arrangement of tabs and other flexibility.



"Ursus" <ursus.kirk (AT) wanadoo (DOT) nl> wrote in message
news:4594e2c3$0$52492$dbd4b001 (AT) news (DOT) wanadoo.nl...
Sorry,

I have understood your question wrong. I don't think you can actualy
block one tab of a tab-object. The one thing I can think about is
creating a duplicate layout. Where everything looks the same, but where
the fields on the tab you want to be blocked are greyed out and
inaccesable for data-entry. Then a script could figure out where to go.

I realise this is not what you asked, but just might do the trick.

Ursus


"JF Fortier" <climatisationfortier-removespam (AT) videotron (DOT) ca> schreef in
bericht news:zJQkh.16$Nh.5459 (AT) wagner (DOT) videotron.net...
Sorry but I don't get it ?? maybe your right but I dont get how putting
a small small field on the tab will prevent me accessing this tab ??

I know how to scipt and get to the right Tab, when I want from
anywhere.... but I want to block acces to one tab, and only give acces
if a validation is true ?? so when the tab is press it alway go to that
tab, no matter what I put above it ? if it's like the tab have priority
on every thing else.....


"Ursus" <ursus.kirk (AT) wanadoo (DOT) nl> a écrit dans le message de news:
4593899d$0$59237$dbd43001 (AT) news (DOT) wanadoo.nl...
You have to work around that. Create a global field for each of the
tabs you need to go to. Place one field one each tab. Make it as small
as possible. (font 1 point). In your script use a <go to field> step.
For this one you could also use a repeating field, placing just one
repetition on each tab then with your script also defining to wich
repetition it should go.

Ursus

"JF" <bizouman_takethisout (AT) hotmail (DOT) com> schreef in bericht
news:h7Fkh.47946$Ld4.864101 (AT) wagner (DOT) videotron.net...
Hi

it's it possible to make in FM8.5 a Tab Control field with many Tab
and blocking acces to one Tab unless a criteria is valid ?? (If
validation;GoObject tab1;GoObject tab2)

I try to draw a button above the Tab itself and make a validation
using GoToObject, but when pressing the button, it select the Tab
under the button no matter what is the order (Front or Back).

Is it possible ? or another way around ?

Thank you

JF














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.