Hi Lars,

One idea is to use the do command and put the actual answer command line in a hidden text field, that will have 2 profiles.
For example, create a text field "answerDialog", set its visible property to false, input the actual command in the text property
e.g. in the first profile
answer "Hello" with "Yes" or "No"
in the second profile
answer "Bonjour" with "Oui" or "Non"


in your script
do the text of field "answerDialog"

To test the selected button in the answer, you can do
if it is "Yes" or it is "Oui" then ...

Second idea
Check the profile of the button in the script

if the cRevGeneral[profile] of me is "firstProfileName" then
  answer ...  -- first language
else if the cRevGeneral[profile] of me is "secondProfileName" then
 answer ...  -- second language
end if

Hope it helps.

Thierry

On Wednesday, Jul 28, 2004, at 14:50 Europe/Paris, Lars Brehmer wrote:

Thanks to Thierry, by the way,  for answering my last question on this!

Now that my pop-up menus are bi-lingual, another quick question - if a button with two profiles has an answer dialog in its script, can that dialog be different for the two profiles? I tried to find a similar solution to using the text property for the pop-ups, but I am still stumped. Can anybody help?

Thanx,

Lars

_______________________________________________
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


_______________________________________________ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to