PRB: "This operation not supported for Class Member Object"ID: Q130658 3.00 WINDOWS kbtool kbprb The information in this article applies to:
SYMPTOMSWhen the CLONEOBJECT() method is used to duplicate a member of a class, the error "This operation not supported for Class Member Object" is displayed.
CAUSEThe object is a contained member of an instance of a visual class stored in a class library (.VCX file). Visual FoxPro does not support cloning of contained member objects. The CLONEOBJECT() method is designed to copy information that is contained at the object level.
WORKAROUNDIf, when designing a wizard or a builder, you plan on duplicating a control at form design time, define a class for this specific control and place an instance of this class on the form.
STATUSThis behavior is by design.
MORE INFORMATION
Steps to Reproduce Behavior1. Create a form. 2. Select the View Class button from the Form Controls toolbar. Select Add, 3. Select the VCR control, and place it on the form. Select the CmdTop
4. In the Command window, type:
Additional reference words: 3.00 VFoxWin
KBCategory: kbtool kbprb
KBSubcategory: FxtoolFormdes
|
Last Reviewed: April 5, 1996 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |