Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 8321 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

I have a portal set up and a buttom on each line of the protal that is scripted to delete the row.

The window that is displayed when the delete script is run is titled FileMaker Pro and indicates "Permanently delete this one related record?"

How do I gain control over the contents of this window so that I can title it and use my own description?

Posted

Macs don't see window titles on alert messages, but as for the contents:

make a script using the Show Message command. You'll also want to use the Status(CurrentMessageChoice) function, the online help has the details.

Posted

Beep

Show Message [ "Delete this portal row?", Cancel, OK ]

If [ Status (CurrentMessageChoice) = 2 ]

Delete Portal Row [ no dialog ]

End If

The Show Message step has two buttons: first is Cancel, second is OK (or Delete if you prefer). Button 1 is always default, and it's customary on interface design not to make the default button perform an action that does damage that cannot be reversed -- like delete a record.

Posted

Vaughn

Your script worked great!

One point... when I select OK another window now pops up that asks "Permanently delete this one related record?"

Can I eliminate this window?

Posted

Vaughn

I figured out how to kill the second window...

Is it possible to gain control over the title of the "Message" window. I would like the name of my DB to be the title instead of "Message."

Thanks!

Posted

The second alert (they are called "alerts" or "dialogs" not "windows") is suppressed by the "no dialog" option in the "Delete Portal Row [ no dialog ]" script step.

No, the title of the "Show Message" alerts cannot be named.

Posted

I saw a contacts db today that was developed by Lupien consulting in New York and the "Show Message" windows in the program have been renamed...

Posted

There are hundreds of plugins available I suppose which will generate a InputBox (VIsual basic) or prompt(Java script) - in order for you enter a input and then use it. Messagebox or alert is not a problem at all.

So, for custom controlled message box look into filemaker website's plugin section. There are lot of free plugin's available as well. If you don't like plugins - another way is to have a separate layout where you show the message with buttons like Yes/No, OK/Cancel etc .

Regards,

simon1663

[ February 10, 2002, 10:23 PM: Message edited by: simon1663 ]

This topic is 8321 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.