General information
Category:
ActiveX controls in VFP
I don't see a mis-type... I copied the disable statement to under the enable statement and they both are identical except the other side of the equal sign.
I first had it coded under a "WITH ThisForm" and got the error trying to enable then too.
I too have no problem with both those statements in a 'simple' form, but the error is consistent in THIS damned form#@$!#@$!%@$
>Are you sure you didn't mistype something? I don't have any problem changing Treeview Enabled property.
>
>>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.
Previous
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