
bad selection option "from"
: I'm trying to install the TkReq, that is written for Tk 3.6, but i have 4.0 and
: there is a problem with compatibility. "Tk4.0 Overview and Porting Guide"
: didn't covered that problem. So... There are some lines written lik this:
: bind .frame20.frame4.listbox1 <B1-Motion> {%W select from [%W nearest %y]}
: bind .frame20.frame4.listbox1 <ButtonRelease-1> {if {$reqListExpand} {
: ....blabla...
: and error message is here:
: bad selection option "from": must be anchor, clear, includes, or set
: while executing
: ".frame20.frame4.listbox1 select from [.frame20.frame4.listbox1 nearest 33]"
: (command bound to event)
: I can read from manual pages, what must do these anchor, clear, includes, or
: set, but can't read from nowhere what did the option "from", so, i don't know
: what is the aid. if i know maybe i'd rewrite something there, but i don't.
: can anyone help me?
Sorry... i forgot to note that the widget .frame20.frame4.listbox1 is listbox.
I'm really in trouble. There are a lot of
"<listboxpath> select from <wierufherigujetgierf>" commands. Can anyone give me
a solution, what to do instead of "select from"?
--
Asko Seeba.