Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

<<ListboxSelect>> virtual event
I have bound a script to the <<ListboxSelect>> virtual event of the standard
Tk listbox widget.  The event seems to fire whenever the selection changes
via the keyboard or a direct mouse click- which is good.  I have the need,
though, to tell those two situations apart in the bound event.

That is, I need to know whether the event was fired by a mouse click or a
keyboard traversal of the list.  Several of the substitution characters
available to the bind command look promising, though they don't seem to be
passed through when the virtual event is fired.  More specifically, the
values passed for every promising substitution character I tried was the
same for a mouse click versus a keyboard traversal.

What's the correct way to tell these two situations apart?

Thanks,

Jeff



Report this thread to moderator Post Follow-up to this message
Old Post
Jeff Godfrey
04-20-05 09:00 PM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

Tcl archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 07:18 PM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.