Hello all,

using package tcltk this is my problem:

 

I want to set a colour of a tclVar().

I have a tklabel (fixed in position) which should display two variables
occasionally. 

If a constraint is fulfilled, the tklabel should display
correct<-tclVar('correct') in green, otherwise it should display
wrong<-tclVar('wrong') in red!

 

To display the variables is no problem, but getting colour into them.

Up to now for me it was only possible to set the colour of the whole label. 

 

Any advice?

 

Thanks!

 

Immanuel Seeger

 

 

 


	[[alternative HTML version deleted]]

