Hi James;
What ServicePack are you using.. After the service pack 4 VFP has fixed a lot of problems in some activeX controls (treeview included)
CLAUDIO
>Hi All,
>
>TreeView controls have a problem drawing.
>
>I have come across the problem in the following situations:
>
>- When a form containing a TreeView is first shown, the TreeView is not always visible, and
>
>- When the size of a treeview is changed in code, it does not redraw to the new size.
>
>The controls will always become visible and/or repaint to the correct size when the user mouse clicks on the treeview to select it, but...
>
>SetFocus() to the control in code does not always result in repainting. Neither does toggling the control's visible property on and off to force a repaint. Sometimes these techniques work, sometimes they do not.
>
>Has anyone found a means of forcing the TreeView to repaint reliably?
>
>Thank you,
"Now to him who is able to do immeasurably more than all we ask or imagine, according to his power that is at work within us, Ephesians 3:20