Welcome To DwayneWright.com!
FileMaker Developer & Trainer ( formerly known as LeSaux Media Services )


Training Products | Training Classes | Consulting & Support | Solutions | Store | Home



Main | Articles | Movies | Examples

FILEMAKER 6 SHOW CUSTOM DIALOG BOX EXPLAINED
By Dwayne Wright - LeSaux Media Service
© 2003- 2005 LeSaux Media Services

Download The Example
View The Movie
FILEMAKER'S SHOW CUSTOM DIALOG BOX EXPLAINED
This new feature, introduced with FileMaker 6, provides a more robust dialog box feature than the Show Message script step. The Show Custom Dialog Box step has the many much requested features. The most popular is the ability to allow a user to add data to up to 3 fields directly from the dialog box. Other features include the ability to use literal text or a calculation to show the dialog box title, the dialog box main message and the labels for the input fields.
The branching actions are just like the Show Message script step, which means that the developer will need to work in concert with one or more IF script steps and the Status(CurrentMessageChoice) function.

NOTE: If you use the feature to add data to the database via the dialog box, that data will not be validated like a normal field. Both custom validations ( like you set for a field ) or the default validations ( like text info in a date field ) will not take place.



EXAMPLE: Show Custom Dialog

dialog.FP5
In this example, we are showing of the Show Custom Dialog script step feature in FileMaker 6 and above. We are only showing off the data entry features of this new dialog box. The branching capabilities of this script step are the same as the Show Message script step ... except you can now branch upon what the user enters into those 3 new data entry fields in the dialog box.
Boy, this takes a lot of explaining!

Back to the example, we have shown you all the fields that we are going to use in our dialog box. The red fields are the fields you are going to add data to the record via the dialog box. Click the Test Custom Dialog button. Move the dialog box so that you can see both the data entry screen and the dialog box. Here you can see that the dialog box title field information appears in the dialog box title. The same is true for the message to the user and the labels for the 3 data entry fields. Go ahead and enter something into the 3 fields in the dialog box and click the OK button. Notice how your new data appears in the record! Now edit the information in the Dialog Box Title, Message To User and the Labels for the 3 fields. Click the Test Custom Dialog Box button again and see the changes!



Unauthorized reproduction in any form is strictly prohibited without prior permission. The material on this website is offered AS IS. There is NO REPRESENTATION OR WARRANTY, expressed or implied, nor does any other contributor to this site. WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE EXPRESSLY DISCLAIMED. Consequential and incidental damages are expressly excluded.