Setting Property Profiles

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: Klaus, FourthWorld, heatherlaine, kevinmiller

Post Reply
Ruediger
Posts: 9
Joined: Thu Aug 22, 2013 1:06 pm

Setting Property Profiles

Post 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.
dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10507
Joined: Wed May 06, 2009 2:28 pm

Re: Setting Property Profiles

Post by dunbarx »

Just quickly, does it matter that you used "englicsh" in the field but "english" in the handler?

Craig Newman
Ruediger
Posts: 9
Joined: Thu Aug 22, 2013 1:06 pm

Re: Setting Property Profiles

Post by Ruediger »

No, unfortunately only a typo in the mail.
Post Reply