Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Cant write .VCX file ?
Message
De
28/05/1999 04:59:40
 
 
À
28/05/1999 04:07:57
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00223832
Message ID:
00223849
Vues:
26
Cetin
Thanks heaps for that, I tried what you said and it worked OK to the point that the subclass was saved and included new methods that I wanted using PROCEDURE - ENDPROC. However the code does not seem to be included eg
PROCEDURE newMethod
? "This is a New Method "
ENDPROC
when I go to modify class, I see the new method but not the code.What am I missing ?
btw I am trying to implement a grid builder too. This is about my 5th improvement where as a final step I wanted to add a "bindData" method to the saved grid class that has the code to rebind the grid data columns whenever required.This code is auto generated and at present I have to go to modify the new class, create a bindData method and paste the code in.
One other thing I tried, was to programatically, open the VCX table and add the new method in the Method memo field and then to recompile the VCX. I am wondering why that did not work.
thanks again
John

>John,
>Wish that could be done this way. As in help :
>"Note You can use the SaveAsClass method only if the class originates from a >class library (.VCX)."
>Create the form and container visually in designer and choose >file\saveasclass. Later you might change at runtime and call SaveAsClass (I do >that for grids to have layout as I want or generate multipl grids from >different SQL - except width).
>Cetin
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform