Fernando
Thu Feb 17 12:20:40 CST 2005
Hi Alan:
And what happens if you leave the autocenter property to .F. en the main
class?
May be this is a bug and you must set this property for each form.
Regards,
Fernando D: Bozzo
------
"Alan C. Sheffield" <asheffield @ park west gallery.com> escribió en el
mensaje news:#cMVz8PFFHA.2876@TK2MSFTNGP12.phx.gbl...
> If their was some code doing this I'd expect the autocenter to be .t. when
> the form is done loading. But that is not the case. A check of the
> autocenter property reveals that is is still .f. A breakpoint in the
> debugger never changes from .f. during the form load.
>
> Alan
>
> > Maybe there is some code running somewhere in the inheritence chain that
> > is changing the setting?
> >
> > --
> > Cy Welch
> > Senior Programmer
> > MetSYS Inc
> >
http://www.metsysinc.com
>
> "Cyrus Welch" <cywelch@hotmail.com> wrote in message
> news:tTSQd.669$DC6.576@newssvr14.news.prodigy.com...
> > Alan C. Sheffield wrote:
> > > I know that I can do this. I just hate hacking things that "should"
> work.
> > >
> > > My current suspicion is VFP is still seeing the class as autocenter
and
> > > ignoring my override.
> > >
> > > "Jan" <nomail@nowhere.com> wrote in message
> > > news:uqGmKCPEFHA.2756@TK2MSFTNGP15.phx.gbl...
> > >
> > >>Alan,
> > >>
> > >>In the init of the form set the top and left properties of the form to
> > >
> > > what
> > >
> > >>you want. Whilst this doesn't explain whats happening, it should solve
> > >
> > > your
> > >
> > >>problem.
> > >>
> > >>HTH
> > >>Jan
> > >>
> > >>"Alan C. Sheffield" <asheffield @ park west gallery.com> wrote in
> message
> > >>news:O6IaDIHEFHA.2232@TK2MSFTNGP14.phx.gbl...
> > >>
> > >>>I have encountered an issue with some of my forms. All of my forms
are
> > >>>based
> > >>>on a class called cform. Cform has its autocenter set to .t. and this
> > >>>works
> > >>>just fine.
> > >>>
> > >>>I have a few forms that I don't want to autocenter to I changed that
> > >
> > > forms
> > >
> > >>>value to .f..
> > >>>
> > >>>But, their still autocentering.
> > >>>
> > >>>Its not the foxuser , and ini or some registry setting. I have no
code
> > >
> > > in
> > >
> > >>>cform to force it back to .t. And after the form has run a check of
> that
> > >>>property reveals it to still be .f.
> > >>>
> > >>>
> > >>>Suggestions?
> > >>>
> > >>>Alan
> > >>>
> > >>>
> > >>
> > >>
> > >
> > >
>
>