I'm having a weird problem with a Treeview. The scenario is kind of a strange one to begin with:
- The Treeview is on a modal form.
- The modal form has a buton that calls a modeless form.
- When the modeless form is called, VFP puts it in a kinda,sorta modal mode. The code in the modal form continues to run after the modeless form is open, but menus are disabled and you can't click on other forms.
So far, this is working exactly how I want it to. The problem occurs when I close the modeless form. The TreeView on the modal form is disabled. I can resize it, but none of the controls nor the scrollbar work in the treeview. I've tried resetting TreeView.Enabled (and TreeView.Object.Enabled) to .T., but it has no effect.
Has anyone seen this one before? It does work properly when I change the modeless form to modal, but there is code in the modal form I want to run after the modeless form is open, so I can't do that.