Home » Developer & Programmer » Forms » Forms placement
Forms placement [message #153916] Wed, 04 January 2006 20:26 Go to next message
sharma.radha
Messages: 59
Registered: August 2005
Location: mumbai
Member

Hi to all.

How do i adjust my form in the center of window so that it looks in the center of screen.
I tried a lot but result is null.
Please tell me same some method..

Waiting ..for ..reply..

Radha.

Re: Forms placement [message #153918 is a reply to message #153916] Wed, 04 January 2006 20:39 Go to previous messageGo to next message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
Try the set_window_property(forms_mdi_window, x_pos, y_pos).

To get the screen resolution have a look at win_api_environment (or whichever one reads the register) in d2kwutil or webutil (depending on your forms version).

David
Re: Forms placement [message #154015 is a reply to message #153918] Thu, 05 January 2006 06:56 Go to previous messageGo to next message
sharma.radha
Messages: 59
Registered: August 2005
Location: mumbai
Member

Thanks David for your worth reply.

I used set_window_property(forms_mdi_window, x_pos, y_pos).
Result is fine. I got the solution.

Can you tell me some link where i found that how to get the screen resolution by having a look at win_api_environment in d2kwutil or webutil.

Radha.
Re: Forms placement [message #154128 is a reply to message #154015] Thu, 05 January 2006 16:50 Go to previous message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
Start at http://www.oracle.com/technology/products/forms/htdocs/webutil/webutil.htm

David
Previous Topic: chart item
Next Topic: Explain --- Standart commit
Goto Forum:
  


Current Time: Fri Sep 20 06:32:54 CDT 2024