View Single Post
  #4 (permalink)  
Old 02-27-2008, 03:59 PM
RandomCoder's Avatar
RandomCoder RandomCoder is offline
Basic4ppc Veteran
 
Join Date: May 2007
Location: UK
Posts: 487
Awards Showcase
Beta Tester 
Total Awards: 1
Default Today I new problem....

I've got a context menu working with my treeview which allows me to switch to different panels, i.e back to the main menu.
But I would also like to use the context menu to perform certain actions on the selected node, such as reply or delete etc.
Here is my problem.
The AfterSelect event is not triggered by the context menu and so when I select to reply it is acting on the wrong value (node).
Attached is a sample code to demonstrate the problem.....

Any help, would as ever be greatly appreciated.

Thanks,
RandomCoder
Attached Files
File Type: zip TreeTest.zip (14.4 KB, 9 views)
__________________
Desktop: Pentium D 920 (2.8GHz, 4MB L2 Cache, 800MHz FSB), 1024MB, 256MB Radeon X600, 250GB HD.
Device : Axim X51v XScale 624MHz, 3.7" VGA, 64MB SDRAM, 256MB Flash ROM + 1Gb SD.

"Defeat never comes to any man until he admits it."Josephus Daniels
Reply With Quote