This is a maintenance project of an OLD system (not all that well
designed system either)
Well, now I have a w_ancestor that I'd like all those windows to inherit
from.
Is there anything I can do, other than re-inheriting and copy/pasting
(i.e. recreating all those windows)? Like maybe in the source editor?
Any advice helps.
Thanks.
Replace "Window" with "w_ancestor" in Two places. One of the main problems
you may run into duplicate variables and so on but if you get (PBSEARCH) or
some such program you can search for all occurances of a variable.
/*Old*/
global type w_case from Window
end type
end forward
global type w_case from Window
end type
/*New*/
global type w_case from w_ancestor
end type
end forward
global type w_case from w_ancestor
end type
"Leon Mandel" <le...@weepirate.com> wrote in message
news:3F159D0A...@weepirate.com...
czool
Open your concrete window, go to the Open event, right click in the source
and choose "Extend Ancestor Script". Then you should be right to go.
Cheers
--
Andrew Giulinn
Senior Analyst/Programmer
Daniel Systems Australia
"Leon Mandel" <le...@weepirate.com> wrote in message
news:3F15D13E...@weepirate.com...
it makes so much sense! i remmeber not having to code that in PB 6.5
which is what threw me off
kool.