>How do I expand a treeview control in code. If I click on the + the expand event in the control fires and expands the node but if I call the expand event from code passing it the node object I want to expand the event fires but the node doesn't expand. If anyone can help this would be greatly appreciated
>
>Thanks
>Bill Knauer
Control.Nodes("NodeKey").Expanded = .T.
FWIW, the Expand event occurs as a
result of expanding a node. All events are that way. They always happen because of something else happening. They don't initiate anything (unless manually overridden to do so).
HTH.
Larry Miller
MCSD
LWMiller3@verizon.netAccumulate learning by study, understand what you learn by questioning. -- Mingjiao