in reply to Re^3: Stop mouse wheel from moving charts up/down Tk::Scrolled
in thread Stop mouse wheel from moving charts up/down Tk::Scrolled

Thanks!

This explains a lot!

I was just trying to run the OP's claimed "working" code and the OP's .db file. That didn't work. Apparently the reason why this "doesn't work" is because "it simply doesn't work". You modified the data such that it did work. Duh!

I would ask the OP in a situation like this to post simple runnable code!

Requiring some Monk like thundergnat to fix the code in order to run it is not the best way.

  • Comment on Re^4: Stop mouse wheel from moving charts up/down Tk::Scrolled

Replies are listed 'Best First'.
Re^5: Stop mouse wheel from moving charts up/down Tk::Scrolled
by pashanoid (Scribe) on Jan 23, 2012 at 16:59 UTC
    I don't use this on a win32 system. It is purely designed to run on Linux. I've shrunk the database: http://pashanoid.ru/code/wind.db and code is http://pashanoid.ru/code/chart.pl these should be in same directory. When the charts are rendered and you hover your mouse over one of the charts and move the mouse wheel, that particular chart will move up or down. How on earth do I stop this???