|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
After Select.......not really?I am using the TreeView control and trying to determine if the user has
selected the top node. Using the After_Select method, what I am seeing is that if I click on a lower node, the After_Select method processes twice, with e.node.index being = 0 the first pass through, then equal to the item the user actually selected the second time through. If the user selects the first entry, it processes After_Select only the one time. So I can't tell if it's truly what they clicked, or if I'm just passing through the first time. I just looked into this, and cannot duplicate your issue, at least not in
2005 Pro. If your code is small enough and you feel comfortable doing so, feel free to either post it or e-mail me at jtap***@integraware.com. Jay Taplin, MCP well, I'm using 2003 Pro, but yeah, I just simplified the problem and there
must be something in my code that is actually tripping the control a second time, but I can't find it as yet. Thanks Show quoteHide quote "Jay Taplin" wrote: > I just looked into this, and cannot duplicate your issue, at least not in > 2005 Pro. If your code is small enough and you feel comfortable doing so, > feel free to either post it or e-mail me at jtap***@integraware.com. > > Jay Taplin, MCP > > > EdB,
Be aware that if you in an event of this kind of controls select/deselect something by code. The events for select/deselect will the thrown again. This gives a kind of strange recursive effect. I hope this helps, Cor
Regional settings cause runtime crash
Images inline with blog contents - HOW?? Referencing "Forms" objects from a module some advice How would I make this into a class ? simple program HELP. Tabbed MDI Interface IO locked error Command.Close vs Command.Dispose Referencing Datagrid Information Problem on MSHFlexGrid |
|||||||||||||||||||||||