Buttons

Support for our integrated Contact Manager, Calendar, and Project Tracker.
Posts: 4
Joined: Fri Sep 03, 2010 11:03 am
Location: Arlington, TX
PostPosted: Sun Sep 05, 2010 12:52 am
I want to change the current button’s (ex: Calendar – “Dayâ€
Brent Johnson
SeedCode Staff
SeedCode Staff
Posts: 2764
Joined: Thu Nov 20, 2003 11:01 am
PostPosted: Sun Sep 05, 2010 6:48 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
PostPosted: Sun Sep 05, 2010 10:46 am
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
PostPosted: Sun Sep 05, 2010 1:29 pm
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
SeedCode Staff
SeedCode Staff
Posts: 2764
Joined: Thu Nov 20, 2003 11:01 am
PostPosted: Sun Sep 05, 2010 3:04 pm
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
PostPosted: Sun Sep 05, 2010 3:46 pm
John,

Success!!!

Thank you for your assistance… I’m sure there will be more of these “Duh…â€
Brent Johnson
SeedCode Staff
SeedCode Staff
Posts: 2764
Joined: Thu Nov 20, 2003 11:01 am
PostPosted: Sun Sep 05, 2010 4:02 pm
Congrats Brent! Just backup your file frequently so you aren't afraid to make mistakes.
John Sindelar
SeedCode

Return to SeedCode Calendar

Who is online

Users browsing this forum: No registered users and 3 guests

(855) SEEDCODE
[email protected]
Follow us: