ThisForm.OleTreeview.Enabled = .F.
ThisForm.OleTreeview.Object.Enabled = .F.
Make solutions, not programs!