how to configure properties of treeview in run time?

I have a problem to disable the treeview object when the program is running, please help.

the command which I used is : thisform.mytreeview.enabled = .f.

I can disable it manually when I right click on the object and in the treeview property window.

Any advise is very appreciate.




Answer this question

how to configure properties of treeview in run time?

  • ags2886

    It works.

    Thanks a lot.



  • Raven.Liu

    Try -

    Thisform.mytreeview.enabled = .f.

    Thisform.mytreeview.object.enabled = .f.

    Hope this help



  • how to configure properties of treeview in run time?