Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Treeview - Enabling after having DISabled
Message
From
15/12/2002 20:09:54
 
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00733190
Message ID:
00733204
Views:
49
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
Map
View

Click here to load this message in the networking platform