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

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

Recommended Posts

Posted

i'm trying to localize a solution. i put all the literal text strings in a table (one language per record) and use a global field pointing to the language ID to retrieve the proper strings.

this works for field labels, buttons, etc, but the problem with dialog boxes is that you can only make their text and header field conditional, but not the text on the buttons. is my only option to duplcate the 'show custom dialog' script step with a bunch of 'if.. then' statements or is there a better way?

Posted

You can definately do it with the Troi Dialog plugin. Troi plug-ins are well worth it. As a matter of fact, if you download the demo, I believe that they have an example using unicode characters.

Posted

Take a look at the File Dynamic Field Labels at Database Pros Site.

Link and see if this is what you want.

HTH

Lee

Posted

He wants to dynamically change the text on the buttons of the dialog box not the entry field labels. :

Posted

snip.. but not the text on the buttons.

This is what I was referring to.

Posted

but the problem with dialog boxes is that you can only make their text and header field conditional, but not the text on the buttons.

Am I missing something? I interpreted this as that he realized that he could not specify the button text such as "OK" and "Cancel" dynamically.

Posted

yup, it's the [OK] and {Cancel} type text in the dialogs i want to change dynamically. looks like there's no native way to do it.

as long as i have only a few languages, i suppose with if/then statements that bring up different localized versions of the same dialog box, it's not so bad, just a shame. seems to be a good feature on the wishlist for a future FM release.

Posted

Indeed Stefan and why litter the solution with a global field, no the dialog needs to have an option to use $ or $$ variables, both for the buttons and the reception of values entered by the user.

Applescript is not really an alternative, unless Wim can enlighten us here and tell us if VBScript in a similar way can follow localizations when attempting something in the vicinity of this:

http://www.devguru.com/Technologies/vbScript/quickref/inputbox.html

or here...

http://www.tizag.com/vbscriptTutorial/vbscriptmsgbox.php

--sd

This topic is 6057 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.