Buttons
7 posts
• Page 1 of 1
Posts: 4
Joined: Fri Sep 03, 2010 11:03 am Location: Arlington, TX |
I want to change the current button’s (ex: Calendar – “Dayâ€
Brent Johnson
|
Posts: 2764
Joined: Thu Nov 20, 2003 11:01 am |
Hey there,
You need to send a script parameter when your button calls that script: send something like "calendar week" to see how it works. You can see which parameters are being used by examining the exiting buttons in layout mode. Hope that helps, John John Sindelar
SeedCode |
Posts: 4
Joined: Fri Sep 03, 2010 11:03 am Location: Arlington, TX |
John,
I have examined the existing buttons and was using the same script “Go to Calendar Tab (Tab Name)†Brent Johnson
|
Posts: 4
Joined: Fri Sep 03, 2010 11:03 am Location: Arlington, TX |
John,
I have tried several times to create a new button, use the same script as the other Calendar buttons (Day, Week, Month, Year, Schedule, Grid, and Gantt), but nothing happens. Am I missing something? Brent Johnson
|
Posts: 2764
Joined: Thu Nov 20, 2003 11:01 am |
Hey Brent,
That script (Go to Calendar Tab (Tab Name)) requires a script parameter be sent to it. If you haven't used those before, look that up in FileMaker's built in help. The grab that whole Day, Week, etc button bar (copy it) and paste it on a new layout: begin ungrouping it until you're warned about the buttons and stop. Now double click on the Day or Week button: you'll see that in addition to specifying a script, the button sends a script parameter along with it. I think that is what's missing in your new buttons: you're not specifying a script parameter. Hope that helps, John John Sindelar
SeedCode |
Posts: 4
Joined: Fri Sep 03, 2010 11:03 am Location: Arlington, TX |
John,
Success!!! Thank you for your assistance… I’m sure there will be more of these “Duh…†Brent Johnson
|
Posts: 2764
Joined: Thu Nov 20, 2003 11:01 am |
Congrats Brent! Just backup your file frequently so you aren't afraid to make mistakes.
John Sindelar
SeedCode |
7 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 4 guests