Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Biz Objects..create programatically or with Class builde
Message
From
04/01/2001 05:58:34
 
 
To
04/01/2001 05:22:46
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00458828
Message ID:
00459258
Views:
27
Hi!

>Sorry Vlad I should have said Editing the parent class code.

Understand now.

>>If you want to automate forms changes by reliable way, you have to work with VCX file as with DBF file. For example, by this way I made a simple routine to change parent class of all headers in grids to custom class. By this way you can edit and correct anyting you want. This way allows to do a lot of things. However, it is complex one and can take some time for complex changes. YMMV.
>>
>
>Aha yes it would be possible to do it this way.
>However taking my thoughts a step further I can now see why no one has bothered doing it. If for example class existed that always showed the parent code and always implemented any changes in subclasses straight into the parent then it would go against the entire idea of Oop and just leave the class as a tidy place for leaving bits of code.
>

Exactly. Its not a OOPish way. that is why I'm talking about reworking of application from scratch. Usual project flow for OOP application requires analysis and OOP model building. If changes required in application does not change OOP model - all ok. If yes (like in your case - need to change something in the model) - this is completely another project.

>I think this is an example of my brain unconciousley trying to drag me back towards the procedural way of doing things:)
>

;)

>I guess I will stick to using Supercls for editing parent class code as it works pretty good. I wonder if VFP7 has this functionality built in.

I don't know.
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Previous
Reply
Map
View

Click here to load this message in the networking platform