>>Does your builder work on a PRG or a visual class? I would think a PRG would be easier. If you look at the actual code, the methods start with PROCEDURE some_name and ENDPROC. Your procedure to Remove a method would have to look for PROCEDURE and its corresponding ENDPROC.
>
>>Of course doing anything like this, I would include a procedure at the beginning of my builder to make a backup copy first.
>
>>To get a better answer, more info about the builder and class would be helpful.
>
>The builder would need to add methods on a visual class. The builder would not need to add any code into the methods during building. The methods would be used later.
In that case, you could use AddProperty to add names, and have some neat prefix to your new properties. Later, you'd have to USE your.vcx and replace all the prefixes plus the preceding character which denotes custom property (don't remember exactly which char is that) with a custom method prefix char (don't remember that one either) in the vcx's Reserved7 (or was it Reserved3?) field. Play with custom properties and methods to see how does this get formatted there.
Other than that, you've just found my oldest problem which has no solution - and I'm looking for one almost three years now.