- This topic has 5 replies, 3 voices, and was last updated 15 years, 7 months ago by Rafael Pereira.
-
AuthorPosts
-
March 29, 2009 at 12:16 am #32792Rafael PereiraParticipant
Hi!
I wanna use two skins in my application: skin “Golden.asz” in main form and descending, and other (“Cappuccino.asz”) to popup forms.
When I changed the skin to create a popup (like “Find employee” in a “Login create” form), the AC 6 changes visual of all visibles forms.
I already use the commands “LgnCreate := TLgnCreate.Create( Application )” and “Application.CreateForm( TLgnCreate, LgnCreate )” and both results is always same.
Anybody help me???
Tks… and sorry me for my bad english!
March 29, 2009 at 6:54 pm #38477NeonParticipantYou should use two different TsSkinManager components and set one to Golden skin and another to Capuccino.
March 30, 2009 at 12:06 pm #38483Rafael PereiraParticipantYou should use two different TsSkinManager components and set one to Golden skin and another to Capuccino.Hi!
I already tried this solution, but don't works!
This too change both forms: main and popup!I put “Skin2.Active := True” in popup section “Create”, this is correct?
Tks!
March 30, 2009 at 6:24 pm #38486NeonParticipantThen put a TsFormProvider to the form and set it to TsSkinManager you need. I hadn't this problem you described, all worked well…
April 1, 2009 at 1:13 pm #38513SupportKeymasterApril 20, 2009 at 2:21 am #38713Rafael PereiraParticipantYes, you must define a TsSkinProvider for each form and define there a SkinManager which must be used.Hi, all!
Perfect, the visual form works now!I put a “TsSkinProvider” in popup form and adjust “SkinData.SkinManager := FrmLogon.SkinForm2”.
Note: the FrmLogon.SkinForm2 should be set actived (“Active := True”).Tks for all!
AuthorPostsViewing 6 posts - 1 through 6 (of 6 total)- You must be logged in to reply to this topic.