>>I have a treeview control on a form that repaints & scrolls to the top whenever the form loses & regains focus. How can I pop-up dialog boxes over the form and return to the form without the treeview scroll position changing?
>>
>>TIA
>>Mark
>
>It seems to be related to the form being brought up on top being modal. If the form is not modal, it doesn't scroll, and it does scroll if the form is modal.
TreeView 6.0 is far more tricky than 5.0; I've reverted to 5.0 even in VFP6 (both are installed and registered), it's a much tamer animal. It breaks when it gets a modal form over it, and ocassionally it copies all of it content below the last node, and shows it all expanded. I've given up the TreeView 6.0 until it becomes decent.