Windows Develop Bookmark and Share   
 index > Windows Forms Sample Applications > Terrarium 1.2 not showing any text on buttons?
 

Terrarium 1.2 not showing any text on buttons?


I just installed Terrarium 1.2 and noticed there is no text on the buttons. Is this a known problem? Is it because I've ClearType enabled?

--Dion
MigrationUser 1  Saturday, July 10, 2004 1:10 PM
ClearType shouldn't affect it.  Could you send a screen shot and any configuration information to terbugs@microsoft.com?  Things like:

- OS (and service pack)
- CLRs installed
- Video card
MigrationUser 1  Saturday, July 10, 2004 5:56 PM
Ok, done that.
I also noticed that in the 'Terrarium Style Editor' the text on the buttons disappear when I open a different style...
My Windows is installed on the F-drive (I've got no C-drive); maybe this is the problem?
MigrationUser 1  Sunday, July 11, 2004 4:53 AM

Hi Mitch,

I think I know what the problem might be: my Regional Options are 'Dutch' !
So when the fontsize of the text on the buttons was defined as '6.75', this will be converted to '675' in Dutch, because the Dutch digit grouping symbol is a dot!
You can test this behaviour by setting your Regional Options to another language (e.g. Dutch).

Solution to this problem is to read/write numeric values with the correct culture-info.

E.g. don't use:
   .ConvertFrom(val);
but something like
   .ConvertFrom(null, System.Globalization.CultureInfo.InvariantCulture, val);

--Dion
MigrationUser 1  Sunday, July 11, 2004 5:14 AM
Good find, I'm able to repro it here.  I'll work on getting it fixed this week. I believe it will just affect the Metal.dll, so I'll post it for download to get you around this problem.  I'll wait to make a new installer until I gather and fix all of the immediate issues.

Thanks.
MigrationUser 1  Sunday, July 11, 2004 1:35 PM
Ok, I have a fix available. Do the following:

1. Back up your existing Metal.dll. Found in (by default) C:\Program Files\Terrarium 1.2\Client

2. Download the following file: <a href="http://www.terrariumgame.net/terrarium/downloads/download.ashx?Filename=Metal.dll">http://www.terrariumgame.net/terrarium/downloads/download.ashx?Filename=Metal.dll</a>

3. When asked, save it to your Terrarium Client install directory, replacing the existing Metal.dll.

This will get into the setup for the next update, but I wanted to make it available now for those who need it.  Let me know if you run into any problems.
MigrationUser 1  Monday, July 12, 2004 11:55 AM
Hi,

It seems that the page after the link above, contains a an error. I alway's get an popup for debugging the page, making the file unavialable for me.

Does anyone else have the same problem?
MigrationUser 1  Monday, August 02, 2004 11:45 AM
Hi,

I temporary solved my problem by setting the Graphics style to Default. The other style's still dont show the text on the buttons.

Kind regards,

CFEnvey
MigrationUser 1  Tuesday, August 03, 2004 3:14 AM
Hi guys,

Don't click on the link as you will get the JIT Debugging dialog with the exception occurred message. Select and right-click the link instead and choose 'save target as' and follow the above instructions to replace the dll in question.

Anyway, the fix works for me - with my Dutch regional settings - thanks a lot, Mitch!
MigrationUser 1  Thursday, August 05, 2004 11:27 AM
Hi Mitch,

the fix works fine!
MigrationUser 1  Tuesday, January 25, 2005 5:19 PM

You can use google to search for other answers

Custom Search

More Threads

• Serialization permissions
• task notification service?
• Live Stats Page Down?
• How to Set Quick Start Tutorial
• Please post here if you are running a Terrarium server.
• list all forms in a c# project
• Problems viewing the top critters
• I have VB .NET, how do i make a file to build a bug?
• Terrarium Server problems
• Smart Client problem with me