Syntax for ApplyOptions, order of calls |
Post Reply |
Author | |
iamgtd
Senior Member Joined: 25 February 2009 Status: Offline Points: 131 |
Post Options
Thanks(0)
Posted: 25 March 2009 at 8:14am |
Question 1): What is the correct syntax for ApplyOptions? SkinFramework.ApplyOptions = xtpSkinApplyColors Or xtpSkinApplyFrame Or xtpSkinApplyMetrics or SkinFramework.ApplyOptions = xtpSkinApplyColors + xtpSkinApplyFrame + xtpSkinApplyMetrics or SkinFramework.ApplyOptions = SkinFramework.ApplyOptions OR xtpSkinApplyColors Or xtpSkinApplyFrame Or xtpSkinApplyMetrics Question 2)
Is it important to keep this order of the methods?
SkinFramework.LoadSkin App.Path + "..\..\..\Styles\Office2007.cjstyles", ""
SkinFramework.ApplyWindow Me.hWnd SkinFramework.ApplyOptions = xtpSkinApplyMetrics |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hi,
Just don't set ApplyOptions :) They have all options enabled by default.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
iamgtd
Senior Member Joined: 25 February 2009 Status: Offline Points: 131 |
Post Options
Thanks(0)
|
Hi Oleg, I need to set the SkinFramework.ApplyOptions for two reasons: 1.) Default settings in our programs depending on the operation system. In the FormLoad: bReturn = SkinFramework.LoadSkin(gSkinFileName, gSkinSchema) SkinFramework.ApplyWindow Me.hWnd If XP Or earlier Or userdefined Then If the program is running and I want to change settings is it enough to set only the changend option or is it better to do the same as in the FormLoad? |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |