Page 1 of 1

Display of language selector dependent on variable

Posted: Fri Jan 12, 2007 4:48 am
by pfennig
How can I make the display of the language selector dependent on a (compiler) variable?

best regards
--
pfennig

Posted: Fri Jan 12, 2007 8:59 am
by jimo
What you can do is place an additional text field on the dialog and hide it, then set that text field's caption property to, for example, #COMPILERVAR1#.

Back in the Dialog Editor use Dialog Rules to make the control visible or not based on the value of the text field you added.

That should work, give it a try.

Posted: Fri Jan 12, 2007 2:50 pm
by MichaelNesmith
If you are referring to showing or hiding the built-in language selection dialog box, this cannot be controlled with a compiler variable. But you can see the Multi-Lingual Setups sample for an example of how to build your own language selection box in the script, which would give you full control over your custom dialog, of course.

Posted: Wed Jan 17, 2007 4:41 am
by pfennig
Thanks to both of you.

I found the example with the multi-lingual dialog and adjusted it to my needs.

best regards
--
pfennig