Display of language selector dependent on variable

Got a problem you cannot solve? Try here.
Post Reply
pfennig

Display of language selector dependent on variable

Post by pfennig »

How can I make the display of the language selector dependent on a (compiler) variable?

best regards
--
pfennig
jimo
Posts: 342
Joined: Fri Aug 19, 2005 10:59 am
Location: Atlanta, GA
Contact:

Post 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.
Jim Oswell
Software Engineering Manager, Dental
Greenway Health, LLC
http://greenwaymedical.com
MichaelNesmith
Posts: 3452
Joined: Thu Dec 22, 2005 7:17 pm
Contact:

Post 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.
Michael Nesmith
Install[b]Aware[/b]
[i]Home of The Next Generation MSI Installer[/i]
Get your free copy today - http://www.installaware.com/
pfennig

Post 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
Post Reply