On Wed, Feb 20, 2013 at 2:41 PM, Staffan Tylen <[email protected]>wrote:
> I keep getting "Error 98.900: The UserPSPDialog base class has not been
> initialized correctly"
>
In general, (and I think maybe always,) this error comes from invoking a
method on a dialog object before the base class of the object has been
initialized. You can't do that in ooRexx, and I don't know of any object
orientated language that allows it. But, I'm no expert on that.
as soon as I define a defineSizing method in a PropertySheetPage, and my
> guess is that this method is depending on the position of the call to the
> super class in overriding defineDialog or initDialog methods.
>
You can't invoke any methods on a dialog object until the super class has
been initialized. Other than that, over-riding defineDialog or initDialog
should not make any difference
> It works fine with a basic PropertySheet with no method overrides. If this
> assumption is true, would it be possible to change the internal call to the
> method by the framework to be independent on whether FORWARD CLASS(SUPER)
> or FORWARD CLASS(SUPER) CONTINUE is used?
>
There is no way to change the fact that the base class has to be
initialized before you invoke any methods on a dialog object.
> If it has nothing to do with this, what is then my problem? If need be I
> may be able to put forward some sample code.
>
I don't think your problem has anything to do with defineDialog or
initDialog. Unless you are invoking defineDialog from the init() method of
a dialog object, before the super class is initialized. You can't do that,
and there is no changing of that.
I'm not sure that is your problem, so if you have some sample code I can
tell you for sure what the problem is.
--
Mark Miesfeld
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
Oorexx-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oorexx-users