Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

center aligned window

Status
Not open for further replies.

tyb

Technical User
Feb 10, 2004
137
IR
Dear Frends

is it possible to make the application window center aligned according to the screen area. as i dont see any other way to set the window property to align it to the center.

plz help
thanks
 
Use get_application_property to determine the screen size. Centre the window based on half the width of the screen minus half the width of your window.
 
Thanks lewisp for ur help

is it possible to do it when the user resizes the window to make it always center aligned.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top