Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
TreeView after resize will display the resize only after
Message
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Environment versions
Visual FoxPro:
VFP 6 SP5
Miscellaneous
Thread ID:
00999128
Message ID:
00999153
Views:
48
This message has been marked as the solution to the initial question of the thread.
Try this sequence:

Resize the container
Call the container.Refresh()
Resize the activeX control




>Hi all
>
>I have this TreeView inside a container and all in all is working well. If I click on the forms Max. button the Container and the contained TV all resizes when I check the properties but the TV will only display the new size when I click on it.
>
>This TV is set not to receive focus. Is there some smooth way to get it done. I tried putting TV.Refresh() in the Resize of the container as well in the TV itself but no luck.
>
>If there is a way to set focus to the TV and back to the control actually having focus when the form was resized, that too is fair with me.
>
>Please advise.
If we exchange an apple, we both get an apple.
But if we exchange an idea, we both get 2 ideas, cool...


Gérald Santerre
Independant programmer - internet or intranet stuff - always looking for contracts big or small :)
http://www.siteintranet.qc.ca
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform