LAVA 1.0 Content Posted January 23, 2007 Report Share Posted January 23, 2007 Hi, I need to get the row index of an empty row in a tree control. The idea is to allow user to type in new information to the tree control when she/he click a cell in the tree. The problem is that even though there is a method Point to Row Column in tree control, the method doesn't return row index but row tag. Since there is no row tag on empty rows, the method doesn't return any row-related information on empty rows. The question is how can I find out the row index when user clicks on the tree control. jimi EDIT: I figured it out by myself. One can typecast tree control reference to MultiColumnListbox reference and then use the method Point to Row Column method from MultiColumnListbox. This may not be very future proof way but it works currently. Any ideas of how to do this without using this trick? Quote Link to comment
Ton Plomp Posted January 23, 2007 Report Share Posted January 23, 2007 Good catch Jimi :thumbup: Ton Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.