>I am programmatically adding a container to a form. The container as a TreeView control on it. When
>I walk through the container's Resize code in the debugger, all works as advertised.
>
>If I run the code without the debugger, the TreeView doesn't resize as it should until I click
>somewhere in the control.
>
>Anyone?
Kevin,
I have this code in the resize event (after the dodefault()) of my tvContainer
local Visible
with m.this
Visible= .Visible
.Visible = FALSE
=.Treeview.Move(0, 0, .Width, .Height )
=.Parent.Refresh()
.Visible = m.Visible
endwith
Gregory