Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Replacing a grid in one class with another grid class
Message
De
26/05/1998 17:26:36
Louis Schwartz
Strategic Investment Partners
Arlington, Virginie, États-Unis
 
 
À
22/05/1998 18:21:32
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00101332
Message ID:
00102133
Vues:
21
>I created a form class which encompasses some other classes and a grid. I've added some code to several of the grid events and have already created about 4 forms with this form class. Now I have a grid class which I'd like to use to replace the original grid on the class. It seems to have what I was doing and much more. This new grid class is also based on grid. Am I going to run into problems with my forms if I replace the grid which is in my class with this new grid?
>
>I haven't done anything yet because I don't want to get into trouble.
>
>Thanks for any info on this.
>
>Sylvia


I've done this several times. First back up all your forms, then you have to hack the VCX file by using it as a dbf. Look for the record that contains the grid record and change the class from grid to grdNew (your grids name). and the classloc which should be empty to yourclass.vcx then close the fiel and recompile. It should work fine.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform