On Mon, Nov 26, 2012 at 9:18 AM, Staffan Tylen <staffan.ty...@gmail.com>wrote:


> Thanks Mark, the backgroundSysColor was the solution. Why it's needed is a
> different story I guess...
>

The thing about a PropertySheetDialog is that the operating system controls
creating the page dialogs.  ooDialog has little to do with that.

I tried adding this to explicitly set the size of the dialog frame for the
page:

page1 = .page1~new
page1~setSize(.size~new(223, 212))
pages = .array~of(page1)
ps = .propertySheetDialog~new(pages)
ps~execute

and still get the same results.

So, I think the Windows PropertySheetDialog is setting the dialog
background, and for some reason sets it differently when the only control
is a static control.  But, that's just speculation, I don't really know.

--
Mark Miesfeld
------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
Oorexx-users mailing list
Oorexx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-users

Reply via email to