title: How do I change the text colour of an active cell in a TkTable in Python?
body: <p>I am using a tktable in an application I am making using the Python's tkinter module.</p>
  
  <p>When I select a cell and type in it the colour of the text is white, which is very hard to read. How do I change this colour to black for example.</p>
  
  <p>I have already changed the 'foreground' colour, yet I has not made a difference.</p>
  
  <pre><code>self.table = tktable.Table(self, rows=5, cols=5, multiline=0, font=("Helvetica", 10), foreground='Red', background='White', cache=True, colstretchmode='all')
  
  self.table.grid(row=0, column=1, padx=10, pady=10, sticky='e,w')
  </code></pre>
  
  <p>FULL SOLUTION FOR PEOPLE WHO FIND THIS THREAD:</p>
  
  <pre><code>import Tkinter as tk
  import tktable
  
  class App(tk.Frame):
      def __init__(self, parent):
          tk.Frame.__init__(self, parent)
          self.parent = parent
          self.Main()
          self.grid()
  
      def Main(self):
          self.table = tktable.Table(self, rows=5, cols=5, multiline=0, font=("Helvetica", 10), foreground='Black', background='White', cache=True, colstretchmode='all')
          self.table.tag_configure('active', foreground='black') # &lt;&lt;&lt;ADDED LINE/ SOLUTION
          self.table.grid(row=0, column=0, padx=10, pady=10, sticky='e,w')
  
  if __name__ == "__main__":
      root = tk.Tk()
      app = App(root)
      app.mainloop()
  </code></pre>