Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
TreeView Doesn't Resize
Message
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
01243046
Message ID:
01243185
Views:
28
>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() && you may not need this 
	.Visible = m.Visible
	
endwith
Gregory
Previous
Reply
Map
View

Click here to load this message in the networking platform