Home
Username:
Password:
FileMaker Pro 10: Beginner Tutorials

Modifying Layouts Advanced / Other Tools




Visitors to VTC.com will be able to view all introductory videos for each training course.
Free Trial Members will gain access to first three chapters for each training course.
Full Access Members have full access to VTC.com’s entire library of video tutorials.


Learn More

Subtitles of the Movie

Now, I don't want to leave some of the items in the toolbar uncovered. For instance, we haven't covered the Button tool or the Portal or the Web Viewer and they are fairly complicated, and that's one reason why we haven't covered them yet. We can't cover the Portal tool because Relationships, you have to cover so much before you can even get to this tool, but we can do some real basic buttons and web viewers and that's what we're going to do right now, but these are going to be very basic and realize we're going to do much, much more of these later on. So let's start with the Button tool. We'll click on that and you get the crosshairs once you have it selected and you simply draw yourself a button, whatever size you want. It's like a rectangle. You let go and then you get this dialog. Now, there's so much you can do with this dialog, but we're going to stick to very basic things. We're going to choose Enter Find Mode and we're not going to worry about the options over here. These will be options for this particular script step. If you selected another one, there would be different options in here, likely. You could change the button style, rectangular or rounded, whichever you want, and this option refers to changing the hand to a cursor, kind of like in a web viewer when you hover over a link, it lets you know by changing the icon. This is the same idea. We'll leave all these standard settings here, just select Enter Find Mode. That's it. Run this one script step. It's not going to run multiple script steps, just one step. So we'll click OK and you'll see that our cursor is blinking inside the button and we can type in a name for that button. We'll call it Find. Once we click out of it, the way to get back into the button set-up is to double click on it. So now we have it defined. We can go into Browse Mode and try it out. If we hit it, it does exactly the same thing as it did when we were in Browse Mode and hit the Find button. Nothing different. The big difference is you programmed it yourself and you can now, if you want to, get rid of this whole area. Maybe you don't need all the features that are in the Status toolbar. Maybe you just want some of them and you can redefine them in buttons and put them wherever you want. Maybe you don't like it up here. Maybe you want it over here. There are so many things that you can do, once you learn scripting, to redesign this whole area. Sure, it looks great, it's really modern-looking and fantastic, but if you don't need it the way it's set up, you can go ahead and design it yourself with buttons, so this is a very simple example that allows people to go into Find mode without having to have the Status area there. So it's up to you and when you get into scripts further, you can have it do multiple steps. Whereas this really only does one step, we can have this do a whole bunch of steps, as you'll see. We'll actually do a 35-line script that does finding for you. So you can get very complicated with what you're doing and make it very sophisticated. So let's go back into Layout Mode and just remember, if we go to View and turn on buttons, you'll see it puts that little gray line, so you can tell that's really a button. We'll go back and turn that off so you can see that line go off. Realize that any object can be a button. You don't have to use the button tool. You can select a field and format it as a button. It's up to you. But typically you'll use the button tool when you're beginning here. Now, the other thing we wanted to show you is the Web Viewer. We're going to need another tab here and we're going to call this, let's call this, let's see, I think the best name for it might be Google. We'll create that, come over to Google, get our Web Viewer tool, just click on it. It gives you the crosshairs. We'll draw in a web viewer, which is basically a web browser, so you can really draw it in any size you want. What we're going to do is decide to do a Google web search. What I want you to first start off with, though, and we'll go back to the default, is ignore everything below here because we're going to go much more extensively into web viewers and do much more with them. We're going to just take a baby step with it, but it'll really show you some of the power here. So if you ignore everything below here and just look at this and forget about custom web address because that's what this area would be about here. We're just going to work with the pre-set addresses and we could use Google Maps, but this area is really not big enough to display a map, so I'm going to go for a web search. I would rather show a map because then you can say, oh, this is where my client is, but a web search will be good enough. You can do a quick web search inside a web viewer using data from FileMaker. So we can choose what we want to use to query with and we'll specify the Company field. Maybe you just want to have information at your fingertips about that company at any time you want. So we'll choose that. It'll put the Company field there. It'll actually modify this formula here, which again, if you hit Specify and you start knowing calculations, you can start really making your own custom web addresses and get really powerful stuff, but for right now we're just going to use the pre-set stuff. You know, there's FedEx and Wikipedia and Wiki News and you keep going down here, there's all kinds of stuff. You notice there's no UPS. Well, that's where you'd use a custom web address. I've done it before and there's examples on my website of how to do that, so you can do your own stuff and it's actually quite easy once you understand calculations. Let's click OK. You'll see that the formula is in there but we didn't have to know any of how the stuff works. We'll go into Browse Mode. Make sure we're on a company that we know, Database Pros. We'll go over to Google. It'll load that page and you can see that it's all about Database Pros. So, web viewers are great. You can display anything you want. I think probably the most common example is probably tracking a package, but we really don't have anyplace for a tracking number yet, or maybe a map is, but rather than using a script step to go and open a web browser, why not just put the web browser right inside of FileMaker.

Tutorial Information

Course: FileMaker Pro 10: Beginner
Author: John Mark Osborne
SKU: 33925
ISBN: 1-935320-18-1
Release Date: 2009-01-05
Duration: 15 hrs / 172 lessons
Work Files: Yes
Captions: Available on CD and Online University
Compatibility: Vista/XP/2000, OS X, Linux
QuickTime 7, Flash 8

VTC Sign up & Benefits

  • Unlimited Access
  • 98,729 Video Tutorials (23,265 free)
  • Video Available as Flash or QuickTime
  • Over 1026 Courses
  • $30 for One Month Access
  • Multi-User Discounts Available