Page 1 of 1

Setting Property Profiles

Posted: Tue May 30, 2017 4:15 pm
by Ruediger
LC 8.1.2 Windows 10
I spent hours on this problem without solving it and I hope
very much that somebody will be so kind to give me a helping hint.
I want to switch languages in an App and am building a test.
in the stack "ProfileTest"
I set the following property profiles:
for field "fld1": "englisch_profile" with the elements: foregroundColor red
text This is the Englisch text.
for button "bt1": "englisch_profile" with the elements: label English

Code: Select all

on mouseUp
       revSetStackProfile "english_profile", "ProfileTest"
end mouseUp
Looking at revProfile in the Message Box shows that the profiles in button and field
are switched. The properties foregroundColor, text, label though are not applied.
What am I doing wrong?
Thank you in advance for any hints.

Re: Setting Property Profiles

Posted: Tue May 30, 2017 5:53 pm
by dunbarx
Just quickly, does it matter that you used "englicsh" in the field but "english" in the handler?

Craig Newman

Re: Setting Property Profiles

Posted: Wed May 31, 2017 10:16 am
by Ruediger
No, unfortunately only a typo in the mail.