On Mon, Feb 25, 2013 at 3:46 PM, Staffan Tylen <staffan.ty...@gmail.com>wrote:

>
> SHOWTOP is meaningless in this context isn't?
>>
>> What would show top add that isn't happening now?
>>
>> It's not a bug because the implementation purposefully only accepts 1
>> argument.  What would differentiate popupAsChild(parent) and
>> popupAsChild(parent, "SHOWTOP") ?
>>
>>
> I guess I don't know. In that case the documentation should probably state
> that all other parameters except the first are invalid for pSheets. Or
> maybe it already does, I haven't downloaded the latest version actually :(
>

>From the PropertySheetDialog doc for popupAsChild():

Arguments:
  The single argument is:

  parent [required]

Some other Rexx dialog object. A relationship is established with the
parent dialog such that when the parent   dialog is closed, this dialog is
automatically closed also.

So, it is documented as taking only a single argument.  ;-)

This is really a another case of a PropertySheetDialog dialog is unlike all
other ooDialog dialogs.  The operating system completely manages the
underlying property sheet window.  The underlying windows of all other
ooDialog dialogs are completely managed by ooDialog.

When an underlying window is first created, it needs to be positioned and
shown.  For the property sheet window, the operating system does that
positioning and showing.  For all other ooDialog dialogs, that positioning
and showing must be done by ooDialog.  That's where the show top comes from.

As I said, show top is meaningless in the context of a property sheet, the
operating system system does that.

--
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
Oorexx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-users

Reply via email to