Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Removing / Adding methods in a class from a builder...
Message
 
 
To
09/02/2000 15:20:25
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00329381
Message ID:
00329679
Views:
21
>>I do not see any reason why you could not do this. Practice on a dummy VCX. Create a new VCX with only 1 class in it [I based mine on a form]. Open the VCX as a table, go to the record this is the form class. Custom methods are stored in Reserved3 field. Populate its contents with -- *MyMethod plus a return. Or you can do something like Replace Reserved3 with "*MyMethod1" + chr(13) + "*MyMethod2" + chr(13)
>>
>>Any method code goes in the Methods field. Any code must be preceded with PROCEDURE MyMethod1 and ended with ENDPROC.
>
>I've never been able to get this tro work, have you?

I tried it on a dummy new VCX and it worked. I did not manually add the record for a form class, but once the form class had been added, I was able to put method names in Reserved3 and code in the Method field. Closed the VCX and modified the class visually with no problems with the new methods intact with sample code.
Mark McCasland
Midlothian, TX USA
Previous
Reply
Map
View

Click here to load this message in the networking platform