Re: setting a form to autocenter based on a condition

2007-11-23 Thread Jeff Roberts
n starting > the form based on the StartMode. <> 0 = APP/EXE > > Regards, > Sietse Wijnker > > -Oorspronkelijk bericht- > Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Namens Grigore Dolghin > Verzonden: donderdag 22 november 2007 10:53 > Aan: [EMAIL PROTECT

RE: setting a form to autocenter based on a condition

2007-11-22 Thread Sietse Wijnker
Regards, Sietse Wijnker -Oorspronkelijk bericht- Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Namens Grigore Dolghin Verzonden: donderdag 22 november 2007 10:53 Aan: [EMAIL PROTECTED] Onderwerp: Re: setting a form to autocenter based on a condition If _Vfp.StartMode <> 0 T

Re: setting a form to autocenter based on a condition

2007-11-22 Thread Grigore Dolghin
If _Vfp.StartMode <> 0 ThisForm.AutoCenter = .T. Else ThisForm.AutoCenter = .F. ThisForm.Top = 0 ThisForm.Left = 0 EndIf This goes in form's init. - Original Message - From: "Jeff Roberts" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, November 22, 2007 12:13

RE: setting a form to autocenter based on a condition

2007-11-22 Thread Graham Brown (CompSYS)
Hi Jeff Could you check sys(16) to see if it returns the .exe name? You should be able to set autocenter true/false either in the form load or form init. Not tried but I can't see why that wouldn't work. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Jeff