Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.clipper.visual-objects > #3543
| From | "Willie Moore" <williem@wmconsulting.com> |
|---|---|
| Newsgroups | comp.lang.clipper.visual-objects |
| Subject | Re: Want to save recoding |
| Date | 2012-05-31 10:26 -0500 |
| Organization | Aioe.org NNTP Server |
| Message-ID | <jq82ip$1va$1@speranza.aioe.org> (permalink) |
| References | <m3Lxr.861991$m91.824338@fx24.am4> |
Martin, How I have done this in the past is to create a base class with the business logic for how the browser is supposed to be set up. then on each screen I add a browser (each screen uses the same name) and in my postinit I call my base class setup to make sure that each is handled the same way. All of the callback methods are in the base class. In the dotNet world, I would create a base class with associated form. You can then use that form as the basis for another form. Dieter did a really good article on visual inheritance with Vulcan.net. Regards, Willie Vulcan VIP "Martin" wrote in message news:m3Lxr.861991$m91.824338@fx24.am4... I will have about 20 screens all with the same code, but with 3 or 4 different layouts. I could use one class for this and move fields around in postinits, but is there any way to refer to a browser object from the base class into the screens class. I KNOW I can do it but break editabilty by having the inits and stuff in their own classes. But this would be painfull. Thanks Martin
Back to comp.lang.clipper.visual-objects | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Want to save recoding Martin <spam@spam.spam> - 2012-05-31 15:16 +0100
Re: Want to save recoding "Willie Moore" <williem@wmconsulting.com> - 2012-05-31 10:26 -0500
Re: Want to save recoding Martin <spam@spam.spam> - 2012-05-31 16:35 +0100
Re: Want to save recoding Martin <spam@spam.spam> - 2012-05-31 16:45 +0100
csiph-web