General information
Category:
ActiveX controls in VFP
Title:
Treeview - Enabling after having DISabled
VFP7SP1 on Win2K SP3 and IE 6. . .
A Treeview (named "TypeSelector") on a form, from a sub-classed OLEContainer Control named "MerTypeSelector".
During the form Init() I have the statement:
ThisForm.TypeSelector.OBJECT.Enabled = .F.
It disables the control as expected.
Later in a form method called 'EnableFields' I execute the command :
ThisForm.TypeSelector.OBJECT.Enabled = .T.
This causes the following error message:
"OLE error code 0x80020006: unknown name"
A quick search of MSDN reveals nothing.
Any help appreciated.
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only