Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
TreeView Doesn't Resize
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
01243046
Message ID:
01243185
Vues:
30
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform