- This topic has 5 replies, 2 voices, and was last updated 11 years ago by
DarrenB.
-
AuthorPosts
-
January 28, 2014 at 9:10 pm #36015
DarrenB
ParticipantHi Serge,
I'm having a problem understanding what I'm doing wrong here. In my main app I use 3 different SkinManagers… however for the purpose of this question and the included demo, it is sufficient to use only 2 SkinManagers.
On the Main form, Form1, I have placed two SkinManagers. (Both have their directory hardcoded to use the latest skins downloaded from site (6.2 Mb, 23.01.2014)).
I populate two comboboxes with all available Skin Names.
Form1 is set to use SkinManager1, and Form2 is set to use SkinManager2.
Upon each form, I place labels in .enabled and .disabled state.
Combobox1 changes the (Main) SkinManager1.name, Combobox2 changes the (Secondary) SkinManager2.name
Changing the Combobox1 SkinName correctly updates the form and all labels on Form1 using SkinManager1.
Changing the Combobox2 SkinName, however, does not update the labels on Form2 as it should do? Even though I have placed a SkinProvider on Form2 and pointed it to SkinManager2 on Form1. Form2 updates correctly using the SkinManager2 setting, but the labels seem to 'stick' at the same colours as SkinManager1.
As you can see on the panel on Form2, I've pointed it's SkinData.SkinManager to SkinManager2… but labels don't expose such a property?
Can you tell me what I am doing wrong as I'm sure it is something simple like a setting I have missed? Or is not possible?
Thankyou,
Darren
Delphi XE
Win Vista 64Bit
AlphaSkins 8.53
(demo attached)
January 29, 2014 at 11:16 am #51478Support
KeymasterHello Darren, thank you for the demo.
TsLabels does not have such property as “SkinManager” and controlled by default SkinManager only.
I can add a special SkinManager property to the TsLabel, I think the issue will be resolved in this case.
January 30, 2014 at 3:57 pm #51501DarrenB
Participant'Support' wrote:Hello Darren, thank you for the demo.
TsLabels does not have such property as “SkinManager” and controlled by default SkinManager only.
I can add a special SkinManager property to the TsLabel, I think the issue will be resolved in this case.
That would be brilliant, Serge, thankyou 🙂
March 16, 2014 at 11:42 pm #51703DarrenB
Participant'DarrenB' wrote:That would be brilliant, Serge, thankyou 🙂
Hi Serge,
just downloaded the v9.0 beta I was wondering if you had given this any more thought… at first glance I cannot see any changes?
Thanks
Darren
March 30, 2014 at 7:36 am #51768Support
KeymasterHello Darren!
TsLabel has the SkinManager property in the version 9.00
Do you have reinstalled the package?
March 30, 2014 at 1:47 pm #51774DarrenB
Participant'Support' wrote:Hello Darren!
TsLabel has the SkinManager property in the version 9.00
Do you have reinstalled the package?
Hello Serge,
I must have been doing something wrong, as I thought I had checked for the new property… I re-downloaded and reinstalled the v9.00 and am pleased to see the new label.Skinmanager property. Thankyou for this addition 🙂
Regards,
Darren
-
AuthorPosts
- You must be logged in to reply to this topic.