Print Page | Close Window

TreeView: AfterLabelEdit

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Controls
Forum Description: Topics Related to Codejock Controls
URL: http://forum.codejock.com/forum_posts.asp?TID=18986
Printed Date: 11 May 2024 at 3:25pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: TreeView: AfterLabelEdit
Posted By: Albert1
Subject: TreeView: AfterLabelEdit
Date Posted: 26 September 2011 at 7:47am
I have a TreeView and need to display TreeView.SelectedItem.FullPath (well, sort of).
No problems with the NodeClick event but what if I need to edit a node? After the event AfterLabelEdit, no other event is generated so I have no sync between FullPath and the TreeView nodes collection.
 
Trying with keyboard? From CJ's help:
The AfterLabelEdit event is generated after the user finishes the editing operation,
which occurs when the user clicks on another Node or ListItem or presses the ENTER key.
 
Well, the ENTER key is part of the editing process so it is not trappable by the main program. I can trap only the second KeyPress: unuseful.
 
I cannot use a timer ... Some suggestion?
 


-------------
Product: Xtreme SuitePro (ActiveX) version 13.4.1 / 16.3.0

Platform: Windows Vista (32bit) - SP 2

Language: Visual Basic 6.0 (SP6)




Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net