Cetin
Thanks again. I finished up with a good method that :-
Backs up the VCX file.
Locates the control by skipping up the VCX (grid control just created).
Overwrites the method code memo from a previously written text file
Recompiles the VCX
Interestingly, I found that the empty method "bindData" must already exist in
the baseclass form "myBasForm"
I wonder why ?
Congratulations on the Blue envelope
John
>Hi John,
>How do you add the code ? Readmethod, writemethod ? If so writemethod works >only at design (creation) time or you might have missed the quotes (I do:).
>Writing directly to vcx and recompiling works. I do like this :
>use some.vcx
>locate the control (there are two lines with the same objname - the first one)
>open methods and add, modify code.
>use
>compile classlib (libname)
>At designtime (builders:) aselobj(), readmethod,writemethod() combination >works well. I have a very little dirty grid builder that I never have a >feeling to convert to vcx. It just replaces controls with classes I want :) I >had posted the code in one of the threads and I'm sure there is "..dirty >grid.." words in it if you want to search it :)
>Cetin
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement