Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How can I have class using the same name for parent?
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01412704
Message ID:
01414134
Vues:
51
Looks like nobody knows the answer - but how VPM managed to do this?

>Hi everybody,
>
>Yesterday I changed VPM base grid_ class. I realized it's not a good way to proceed, so I want to move my changes to proctrl.vcx library.
>
>The way I tried it is to copy grid_ class into proctrl.vcx (deleting the original grid_ from it) and now I'm trying to redefine to base it on the grid_ from DevCtrls.vcx, but I'm getting an error "Name of the parent could not be the same".
>
>My question is - how was it done originally by VPM and what should I do to be able to use my changes in the subclassed grid?
>
>Thanks a lot in advance.
>
>OK, I did the same thing as yesterday with the ProCtrls grid_ class.
>
>The problem now is - the grid_toolbar would not inherit my changes in grid_, correct?
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform