Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Re: Selection returns previously selected item ID.



Tip: Looking for answers? Try searching our database.



You are accessing this site in a read-only mode. For full access to all member benefits, including message posting, please login or register. Registration is completely free, simple, and takes only a few seconds.

Login | Free WebmasterKB.com registration | Whole discussion thread

The message you are replying to and its parents are listed in the reverse order with the most recent posts first. This might not be the whole discussion thread. To read all the messages in this thread please click here.

Re: Selection returns previously selected item ID.

Jeff Hobbs08 Jul 2009 19:39
>   when I invoke selection method for the tree item selected, I get
> previously selected tree item.
[quoted text clipped - 5 lines]
>
>    Can someone help me if I'm missing anything?

You are invoking an instance binding before the class binding that
sets the actual item selection.  This is explained for the similar
listbox situation in the Tk usage FAQ:

http://tcl.sourceforge.net/faqs/tk/#listbox/curselection

Jeff

Prathap08 Jul 2009 13:59
Hi:

 when I invoke selection method for the tree item selected, I get
previously selected tree item.

  Basically, I have bound <1> to the tree item, and when I invoke
rrcTree->selection,
  inside the handler function for mouse click I always get the
previously selected item ID.

  Can someone help me if I'm missing anything?

Regards,
Prathap

Quick links:

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage




©2010 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.