Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Removing / Adding methods in a class from a builder...
Message
From
09/02/2000 17:54:55
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
09/02/2000 09:56:16
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00329381
Message ID:
00329782
Views:
23
>>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.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Reply
Map
View

Click here to load this message in the networking platform