Profile Picture

NUIdoument won't change skin or pelete

Posted By JSW W. 13 Years Ago
Author
Message
Brad Swearingen
Posted 13 Years Ago
View Quick Profile
Forum Guru

Forum Guru (53 reputation)Forum Guru (53 reputation)Forum Guru (53 reputation)Forum Guru (53 reputation)Forum Guru (53 reputation)Forum Guru (53 reputation)Forum Guru (53 reputation)Forum Guru (53 reputation)Forum Guru (53 reputation)

Group: Forum Members
Last Active: 8 Years Ago
Posts: 53, Visits: 3
I'm seeing this same problem on the splitter when changing between using skins and palettes at runtime.  Sounds like a similar issue to the thread I started recently titled "Office 2007 Blue skin issue".

Nevron Support
Posted 13 Years Ago
View Quick Profile
Supreme Being

Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)

Group: Forum Members
Last Active: Last Week
Posts: 3,054, Visits: 4,009
Hello JSW W.,

Could you send us an example application which demonstrates the problem.

Best Regards,
Nevron Support Team



JSW W.
Posted 13 Years Ago
View Quick Profile
Supreme Being

Supreme Being (127 reputation)Supreme Being (127 reputation)Supreme Being (127 reputation)Supreme Being (127 reputation)Supreme Being (127 reputation)Supreme Being (127 reputation)Supreme Being (127 reputation)Supreme Being (127 reputation)Supreme Being (127 reputation)

Group: Forum Members
Last Active: 12 Years Ago
Posts: 127, Visits: 1
Actually my problem happened in run time.
If i changed to theme that had skin enable, then I changed to something that had skin disable then the splitter would stay white or window default. Until i restarted the application the right color will show on splitter.

Nevron Support
Posted 13 Years Ago
View Quick Profile
Supreme Being

Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)

Group: Forum Members
Last Active: Last Week
Posts: 3,054, Visits: 4,009
Hello JSW W.,

To apply palette on all controls in your dock manager it should be enough to set this palette only to the dock manager or to the form (if it is a NForm).
You do not need to apply palette to all control separately.


Best Regards,
Nevron Support Team



JSW W.
Posted 13 Years Ago
View Quick Profile
Supreme Being

Supreme Being (127 reputation)Supreme Being (127 reputation)Supreme Being (127 reputation)Supreme Being (127 reputation)Supreme Being (127 reputation)Supreme Being (127 reputation)Supreme Being (127 reputation)Supreme Being (127 reputation)Supreme Being (127 reputation)

Group: Forum Members
Last Active: 12 Years Ago
Posts: 127, Visits: 1
I create NUIDocument by code as m_DocMan, m_DockManager
When i change skin or color scheme
The m_DockManager do not change color but content inside did change.

Attach picture show that when change skin the splitter of m_DockManager did not change and stay white.

below some code i used...


If (True) Then
'Update Schemem for tabs
Palette.Scheme = curColorScheme
NUIManager.Palette.Scheme = curColorScheme
m_DockManager.Palette.Scheme = curColorScheme
w_DockManager_forDatamanager.Palette.Scheme = curColorScheme
m_CmdBarsManager.Palette.Scheme = curColorScheme 'for desktop toolbar

'Update all controls with new color theme


For Each doc As NUIDocument In m_DocMan.Documents
Dim tmp_NDockManager As NDockManager = DirectCast(doc.Client, NDockingPanelContainer).Manager()
tmp_NDockManager.Palette.Scheme = curColorScheme
Next

NevronPalette = NUIManager.Palette
NUIManager.ApplyPalette()
End If


Hi I also found that if i add NuiPanel it will have not problem with splitter color. However, if I added NuiDocument I will get white splitter color.

Thanks,


Attachments
splitter.gif (194 views, 6.00 KB)


Similar Topics


Reading This Topic