Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Microsoft Treeview control
Message
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00508946
Message ID:
00508969
Views:
20
>>>Hello,
>>>
>>>Some time ago George Tasker menioned an article by him about using several API functions to control Treeviews.
>>>
>>>Maybe someone could help me to find this article? This would be great, thanks for your support.
>>
>>Christian,
>>
>>The article is about smoother refreshes with the TreeView. IOW, how to keep it from "jumping" when it's re-populated. It's available in the VFUG newsletter archive, and is available on-line at the site (www.vfug.org). If I recall correctly, it appeared last June or July.
>
>Hi, George!
>
>Your article have saved me from "suicide" (kidding!). Now I have a similar question. I started writing some RESIZE code, and even using LOCKSCREEN the resize of the controls is not as smooth as I would want it to be (The treeviews are resizing just fine!). I´m issuing LOCKSCREEN = .T., repacing the controls on the form (some of them don´t change the size, like buttons), and I finish the resize code with LOCKSCREEN = .F.
>
>Is there anything else I need to do (or to know)??
>
>TIA
>
Alonso,

No, I don't think so. The problem, as I noted in the article, is that the treeview (and all ActiveX controls for that matter) are actually windows, whereas the native VFP controls are not. It would seem to me that there would be a natural conflict between the way VFP "locks" its updates to the controls and the way ActiveX control must lock their updates. Basically, they both can't happen simultaneously (at least I don't think they can) and, as the saying goes, "...therein lies the rub".
George

Ubi caritas et amor, deus ibi est
Previous
Reply
Map
View

Click here to load this message in the networking platform