Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

tablelist options

12 views
Skip to first unread message

DrS

unread,
Feb 20, 2012, 1:27:51 PM2/20/12
to
When you edit a cell, it turns into an entry widget and allows typing.
Is there a way to configure the selection/highlight colors of that entry
widget while it is being edited?


DrS

nemethi

unread,
Feb 20, 2012, 3:07:25 PM2/20/12
to
There are at least two ways to do this (both are described in the
Tablelist documentation):

1. In the body of the procedure specified as the value of the
-editstartcommand configuration option, get the path name of the edit
window with the aid of the editwinpath subcommand and then set the
-selectbackground and -selectforeground options of that widget to the
desired values.

2. Use the option database as in the following example:

option add *Tablelist*Entry.selectBackground #678db2
option add *Tablelist*Entry.selectForeground white

--
Csaba Nemethi http://www.nemethi.de mailto:csaba....@t-online.de

0 new messages