Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Treeview - Enabling after having DISabled
Message
From
15/12/2002 20:58:34
 
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00733190
Message ID:
00733206
Views:
52
This message has been marked as the solution to the initial question of the thread.
I forget, Sergey, but the problem is SOLVED!!!

MSKB Article #Q195533 describes a situation of the same error message with a COM object and suggested a workaround.

Using that I coded:
Local xq
xq = This.TypeSelector.OBJECT
xq.Enabled = .T.
xq = NULL
and the error message stopped and I can now enable the treeview.

Thanks for your help.

>Jim,
>
>If you suspend execution at the time of error does
ThisForm.TypeSelector.OBJECT.Enabled = .T.
works from command window or errors out?
>
>>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#@$!#@$!%@$
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform