For Programmers: Free Programming Magazines  


Home > Archive > Tcl > July 2007 > Tile themes using WinXP and Win2000









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Tile themes using WinXP and Win2000
Jeff Godfrey

2007-07-27, 7:10 pm

Hi All,

I have an application developed under WinXP using Tile. In my source, I
have the following line of code:

style theme use xpnative

A client tried to run the application on a Win2000 box, which crashes
with the message:

theme "xpnative" doesn't exist

I'd guess that a Win2000 box needs to use the theme "winnative", right?
Since I don't have a Win2000 box to test on, I've got a few questions...

1. Will Tile automatically select the correct theme for the OS if I
just don't specify it? In other words, is simply removing the theme
selection code a valid solution?
2. If not, I guess I need to check ::tcl_platform(osVersion) and select
the correct theme myself?

Thanks for any input.

Jeff


Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com