Hi!
Is you form modal? If yes:
Try to change the _VFP.AutoYield property value. If this not helps, make your form modeless. You can also try to create a container calss with ActiveX in it, and add a TreeView control on the fly by code on your form (worked for me in past to solve this kind of problems).
>>>I can't click my treeview in a modal form ?
>>
>>Take a look to the Thread #
595399.
>>In particular, read the mskb #
Q161148.
>
>I get this problem when I run the form from the command-line.
>I don't call this form from an active-X (like #Q161148 is saying) ?
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.comICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs
It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.