Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Duplicate rows in vcx after hacking controls in container?
Message
De
19/04/2002 14:52:56
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Titre:
Duplicate rows in vcx after hacking controls in container?
Divers
Thread ID:
00647020
Message ID:
00647020
Vues:
50
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform