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
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only