Print Page | Close Window

Skin only 1 form

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Skin Framework
Forum Description: Topics Related to Codejock Skin Framework
URL: http://forum.codejock.com/forum_posts.asp?TID=11497
Printed Date: 03 December 2024 at 12:39pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Skin only 1 form
Posted By: moe188
Subject: Skin only 1 form
Date Posted: 19 July 2008 at 8:12pm

Hello,

can you skin only the main screen (including all the controls within this form) without skining the other forms?

thank you
 



Replies:
Posted By: Oleg
Date Posted: 21 July 2008 at 4:13am
Hi,
 
Yes, Set AutoApplyNewWindows = False and remove xtpSkinApplyColors from Apply Options.


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: moe188
Date Posted: 22 July 2008 at 2:23pm
hi,
can you a little bit clear about: remove xtpSkinApplyColors from Apply Options?
thank you,


Posted By: Oleg
Date Posted: 23 July 2008 at 1:54am
Add
 
SkinFramework.ApplyOptions = xtpSkinApplyMetrics + xtpSkinApplyFrame


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: Aaron
Date Posted: 23 July 2008 at 3:03am
Hi Oleg,
 
Just tried that and it seems that the controls in the main form don't get skinned.
 


-------------
Product: Xtreme SuitePro (ActiveX) version 15.0.2
Platform: Windows XP (32bit) - SP 2
Language: Visual Basic 6.0

Zero replies is not an option....


Posted By: Oleg
Date Posted: 23 July 2008 at 8:23am
+ sure ApplyWindow for this form :)

-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: Aaron
Date Posted: 23 July 2008 at 9:21am
Hi,
 
You mean like this:
 
SkinFramework.ApplyOptions = xtpSkinApplyMetrics + xtpSkinApplyFrame
SkinFramework.ApplyWindow frmMain.hWnd
 
or
 
SkinFramework.ApplyWindow frmMain.hWnd
SkinFramework.ApplyOptions = xtpSkinApplyMetrics + xtpSkinApplyFrame
 
 
I tried both, maybe it would make a difference... but it doesn't.
 
To reproduce, just add SkinFramework and PropertyGrid to form, add a few items to propgrid and you will see that expand/collapse buttons don't get skinned. If you remove line: SkinFramework.ApplyOptions = xtpSkinApplyMetrics + xtpSkinApplyFrame save and re-open project Huhhhhh ???? yes re-open project otherwise it still doesn't work. I feel something bubbling up and it aint a fart  YES, its an issue
 
 
 

 


-------------
Product: Xtreme SuitePro (ActiveX) version 15.0.2
Platform: Windows XP (32bit) - SP 2
Language: Visual Basic 6.0

Zero replies is not an option....


Posted By: Oleg
Date Posted: 24 July 2008 at 5:03am
Hi,
Yes, without ApplyColors these buttons will be not skinned. its thing.


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: Aaron
Date Posted: 24 July 2008 at 5:40am
Hi,
 
Its thingy or not thingy... So you can't just skin one form properly...
 
It's not that I need it anyway, but for the member who wants this, it's still an issue!
 
 


-------------
Product: Xtreme SuitePro (ActiveX) version 15.0.2
Platform: Windows XP (32bit) - SP 2
Language: Visual Basic 6.0

Zero replies is not an option....


Posted By: moe188
Date Posted: 24 July 2008 at 6:48pm
Aaron,
you are right it is an issue...
thank you



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net