Nevron Forum

NUIPalette - useThemes?

https://www.nevron.com/Forum/Topic2950.aspx

By JSW W. - Tuesday, January 26, 2010

Dim palette As NPalette = New NUIPalette()
palette.Style3D = Style3D.Light3D
palette.Scheme = ColorScheme.WindowsDefault
palette.UseThemes = False

 

What is useThemes for?

 

NUIManager.SetPredefinedFrame(PredefinedFrame.Office2007Blue)

Another line i do not konw what it does is SetPredefinedFrame.

By Angel Chorbadzhiev - Tuesday, January 26, 2010

Hi JSW W.,

UseThemes specifies whether a renderer should use system themes if the current color scheme is ColorScheme.WindowsDefault.

For more info take a look in this topic in the documentation.

Info about custom frames you can find in the following topic in our documentation.

http://help.nevron.com/dotnetvision/UsersGuide_CustomForms_Predefined_Frames.html

Regards,

Angel.

 

By JSW W. - Tuesday, January 26, 2010

When i set predefine_frame with skin enable the main frame did not take the predefine effect. It will be shown as vistaglass.

How to make it effective?

By JSW W. - Wednesday, January 27, 2010

I also looks in your example

Vb.net > all example > custom form > appearance

your predefined frame did not take effect there as well, on my Vista64 

By Angel Chorbadzhiev - Wednesday, January 27, 2010

Hello JSW W.,

When you apply skin to UI controls it takes priority than custom frame appearance, and both cannot apply together.

Also when you have Aero Effect turned on on Vista or Windows 7 machine the skin and custom frames appearance doesn't take effect on the forms frame.

Regards,

Angel.

By JSW W. - Friday, January 29, 2010

I see, so the clients PC will have priority, over our setting.