John,
Sorry I missread your post and thought you wanted to recenter the form when
you were in cat changing the FORM size as opposed to the VFP main screen
size.

Take a look at Les Pinter's article:

http://www.lespinter.com/PC/ShowArticle.aspx?ArtNum=256

It does exactly what you want.

Regards
Dave Crozier


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of John J. Mihaljevic
Sent: 18 December 2007 14:29
To: [email protected]
Subject: Auto-recentering forms when main window is resized

Hi all,

I see that the AutoCenter property makes a form display in the center of the
screen when it's first displayed, but is there a simple way to have a form
automatically recenter itself when the main VFP window is resized?  I'm sure
I could set something up to determine the size of the form, the size of the
window, and move the form, etc., but before I do all that I thought I'd ask
if I'm overlooking something simple first.

Thanks!





[excessive quoting removed by server]

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/[EMAIL PROTECTED]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to