Re: Forms 5.0: Centering form in MDI Parent

From: Geoff White <whiteg_at_ccis.adisys.com.au>
Date: Thu, 17 Jun 1999 11:42:47 +0800
Message-ID: <37686EB7.DA82CA26_at_ccis.adisys.com.au>


Scott Haley wrote:

> I was wondering if anyone knows a good way to center a form on the
> clients window or at least close to center. In VB there is a startup
> position property which you can set to center screen or center owner for
> instance. Is ther a way to do this in Forms?
>
> Thanks in advance.

I haven't tried this but have a look at the GET_APPLICATION_PROPERTY built-in. There are 2 parameters DISPLAY_HEIGHT and DISPLAY_WIDTH which you can use to calculate what you want.

HTH
Geoff Received on Thu Jun 17 1999 - 05:42:47 CEST

Original text of this message