Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Duplicate rows in vcx after hacking controls in container?
Message
From
19/04/2002 14:52:56
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
Duplicate rows in vcx after hacking controls in container?
Miscellaneous
Thread ID:
00647020
Message ID:
00647020
Views:
49
I am hacking a vcx to change some of the classes that objects are based on. The library contains a container object. The container contains several command buttons. The command buttons were based on the vfp commandbutton base class. From the class browser I added a class called tbbasebutton (outside the container) whose baseclass was the commandbutton. Then I exited the class browser, and changed the baseclass of the buttons in the container to tbbasebutton, and I changed the classloc to t1toolbars.vcx (Although, initially, I might have forgotten to change the classloc)

At various points I called: compile classlib l1toolbars

Now, for some reason, I have two IDENTICAL (except for the uniqueid) rows in my vcx for the contained buttons. When I change a property in the contained button, and go back to the vcx table, the change is reflected in only one of the rows.

Is there a problem in hacking the vcx for contained objects? Maybe, at one point, the 'compile' was confused becuase I forgot to change the classloc field?

Should I delete one of each pair of duplicated records?

I am somewhat new to hacking the vcx, and am just beginning to learn about its structure.

TIA
Next
Reply
Map
View

Click here to load this message in the networking platform