![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
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 |
#3
| |||
| |||
|
|
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 |
#4
| |||
| |||
|
|
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 |
#5
| |||
| |||
|
|
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 |
#6
| |||
| |||
|
|
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 |
![]() |
| Thread Tools | |
| Display Modes | |
| |