Brockmann: "Creating Rich Web
Applications Gets a Ton Easier"

e-grou chooses Visual WebGui
over standard ASP.NET

Quick migration of VB 6.0
Applications to the Web

Fully functional software versions
for 30 days evaluation period

Download the free edition of the
Visual WebGui Studio
 

Code Snippets

joelhulen posted on February 18, 2008 :: 13749 views

I have modified the popular Vista theme, which is just like the Office 2007 "Blue" theme, and created a version that is just like the Vista/Office 2007 "Black" theme.

Simply reference the Gizmox.WebGUI.Themes.Black.dll file that is in the bin folder in your project and add the theme to your Web.config file:

<Themes Selected="Black">
<
Theme Name="Black" Assembly="Gizmox.WebGUI.Themes.Black"
/>
</
Themes>

One suggestion I would like to make is to set the background color of your forms and splitters to #535353, as they don't seem to inherit them from the WindowBody variable in the Flavors.xml file.

Enjoy!

Joel Hulen

Download Code

Note: Codes are submitted as a .zip file to shorten your download time. After downloading it, you will need a program like Winzip to decompress it.

Terms of Agreement:
By using this code, you agree to the following terms...

  1. You may use this code in your own programs (and may compile it into a program and distribute it in compiled format for languages that allow it) freely and with no charge.
  2. You MAY NOT redistribute this code (for example to a web site) without written permission from the original author. Failure to do so is a violation of copyright laws.
  3. You may link to this code from another website, but ONLY if it is not wrapped in a frame.
  4. You will abide by any additional copyright restrictions which the author may have placed in the code or code's description.

Post Rating

Comments

# joelhulen
Also, may I suggest, set the Font foreground of the MainMenu control to White and the background to #535353, if the values are not automatically inherited by this theme. This sometimes happens, it seems.

If using the StatusBar control, set the font foreground to White.
Posted by joelhulen on Tuesday, February 19, 2008 2:03 AM
# JCSoRocks
Can you link some screenshots or something so that I can see what it looks like? I've got it installed but there are some quirks and I'm not sure whether it's me or the Theme. Thanks!
Posted by JCSoRocks on Friday, February 22, 2008 2:05 PM
# joelhulen
I don't seem to be able to edit this article.

Please use copy and paste the link below to view a screenshot of this theme as applied to Guy's Outlook CRUD download:

http://www.hirodev.com/gizmox/BlackThemeLarge.jpg

Joel
Posted by joelhulen on Sunday, February 24, 2008 7:09 PM
# joelhulen
A few of you have pointed out an inconsistency with the "Workspace" tabs where they do not match the rest of the theme elements. I have gone back and modified them and recreated the zip file attached to this article.

However, I do not see an option to upload the modified zip file and replace the one already on this site.

For now, you may download it from here:

http://www.hirodev.com/gizmox/Gizmox.WebGUI.Themes.Black.zip

Does anyone know how I can replace the one posted in this article?
Posted by joelhulen on Sunday, March 02, 2008 11:13 PM
# joelhulen
I have made one more modification to this theme regarding the Workspace style tabs.

For the active tab, I have added a gradiated orange bar along the top in order to help it stand out better.

Until I can replace the zip file for this code snippet, you need to download it from here:

http://www.hirodev.com/gizmox/Gizmox.WebGUI.Themes.Black.zip
Posted by joelhulen on Wednesday, March 05, 2008 11:27 AM
# joelhulen
Apparently, there is an issue with the embedded version of the Black theme when used with any VWG applications running the new 5.85 VWG framework.

I've fixed the issue and posted the new Black theme files here:

http://www.hirodev.com/gizmox/Gizmox.WebGUI.Themes.Black.zip

For those of you who are curious to know why the new version of the VWG framework caused problems with this theme, there was a new element added to the Flavors.xml file in the new 5.85 version. The variable added is named "ControlBorder". Since the previous version of the Black theme did not have this new node, any VWG apps that run on the 5.85 VWG framework and were using the older version of the theme seemed to have javascript and other client interactivity issues. This may be good to note if you've created your own themes and are experiencing similar issues with the new framework.
Posted by joelhulen on Tuesday, March 11, 2008 10:10 AM
# ssamayoa
Nice work Joel.

It would be nice if this skin gets into main code base.

Regards.
Posted by ssamayoa on Sunday, April 13, 2008 3:33 PM
# ssamayoa
I tested the theme with VWG's catalog application in Firefox 2 (exact version: 2.0.0.13 es-AR) and have two problems:

1. The buttons are rendered smaller than expected size, them use only the size of the text.

2. Dialogs are transparent.

VWG: 6.0.1

Regards.
Posted by ssamayoa on Monday, April 14, 2008 6:29 PM
# joelhulen
ssamayoa,

Thanks for the input! I will be fixing this shortly. I've been involved in a lot of projects lately and haven't been able to address this as quickly as I normally would. Expect an update soon.

Joel
Posted by joelhulen on Friday, May 16, 2008 9:26 AM
# machvister
Hi

I did everithing as described , but nothing works...
I have visual studio 2005
Can you help me?
Posted by machvister on Sunday, March 07, 2010 1:00 PM

Post Comment

Only registered users may post comments.
Most promising startups
Top 3 most promising startups in 2009
   AJAX Framework | Web Development | Cloud applications | RIA Development | Silverlight Applications | Legacy Migration
The most popular open source Ajax applications framework for enterprises | Sitemap | Terms Of Use | Privacy Statement
Copyright © 2005-2009 Visual WebGui®    Design By: Template World
   
Visual Studio Partners