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

Click here to load this message in the networking platform