Don't think that will work.  The Init code will hang at the READ EVENTS.

The usual way is to have a .PRG with:

DO FORM yourform
READ EVENTS


and then have the CLEAR EVENTS in either the Quit button Click, or in the
Form Destroy event.

Fred


On Wed, Aug 15, 2012 at 4:29 PM, Gary Jeurink <[email protected]> wrote:

> So I will put READ EVENTS in the init method and then the CLEAR EVENTS in
> the quit form button. Right now I just have a main form that calls any
> forms
> that I need. I've never had any formal instruction other than books.
>
> Gary Jeurink
>
> -----Original Message-----
> From: Gary Jeurink [mailto:[email protected]]
> Sent: Wednesday, August 15, 2012 3:40 PM
> To: 'ProFox Email List'
> Subject: RE: just installed vfpro-9
>
> Okay, I read Tracy's message and I checked the hide on the command window
> and then when I run it as an APP it its good. About the CLEAR EVENTS & READ
> EVENTS, I have never used them. Is this a foxpro-9 thing or something I
> need
> to learn.
> I am also a bit overwhelmed by the extra records in the property boxes in
> ver.9 too.
>
> Gary Jeurink
>
> -----Original Message-----
> From: Fred Taylor [mailto:[email protected]]
> Sent: Wednesday, August 15, 2012 2:54 PM
> To: ProFox Email List
> Subject: Re: just installed vfpro-9
>
> You need a READ EVENTS line somewhere.  Don't forget, you'll also need a
> CLEAR EVENTS either from a menu option, or maybe a close button on a form
> that would have that line in it's click event code.
>
> Many options, all depends on what you want to do and how you want to do it.
>
> Fred
>
>
> On Wed, Aug 15, 2012 at 12:28 PM, Gary Jeurink <[email protected]
> >wrote:
>
> > Last issue... I hope. I rebuilt as an application with the changes and it
> > runs fine but it opens with the command window on top of it. How do I
> push
> > the application on top. I don't see a z-order.
> >
> > Gary Jeurink
> >
> > -----Original Message-----
> > From: Rafael Copquin [mailto:[email protected]]
> > Sent: Wednesday, August 15, 2012 12:51 PM
> > To: [email protected]
> > Subject: Re: just installed vfpro-9
> >
> > Yes, if you are trying to run an app written in a previous version of
> > VFP. If you start a new one, you might want to learn the differences,
> > especially in the sql sentences. Report behavior refers to the new way
> > of making reports, ie with report listeners. If you want to stick to the
> > old way of making reports, just leave the setting at 80
> >
> > Rafael Copquin
> >
> > El 15/08/2012 02:26 p.m., Gary Jeurink escribió:
> > > I saw screen yesterday but couldn't find it today so I went into my
> main
> > > program and added     _SCREEN.Themes = .f. and it calls the first form
> > and
> > > it works. Should I leave in the two lines below?
> > > set enginebehavior 70
> > > set reportbehavior 80
> > > Some one else gave me these recommendations.
> > >
> > > Gary Jeurink
> > >
> > > -----Original Message-----
> > > From: Fred Taylor [mailto:[email protected]]
> > > Sent: Tuesday, August 14, 2012 2:24 PM
> > > To: ProFox Email List
> > > Subject: Re: just installed vfpro-9
> > >
> > > Sounds like you've run into the .Themes issue.  You can turn themes off
> > > entirely with _SCREEN.Themes = .f.
> > >
> > >   or for just a screen:
> > > thisform.Themes = .f.
> > >
> > > or a single control:
> > > Control.Themes = .f.
> > >
> > >
> > > Fred
> > >
> > >
> > > On Tue, Aug 14, 2012 at 12:17 PM, Gary Jeurink
> > <[email protected]>wrote:
> > >
> > >> It stalls on the Main program but runs fine on all the forms... except
> > all
> > >> of the pages in the pageframes are white and don't respond when I
> change
> > >> the
> > >> backColor property. I know its something easy but I haven't spotted it
> > > yet.
> > >> Gary Jeurink
> > >>
> > >> -----Original Message-----
> > >> From: Alan Bourke [mailto:[email protected]]
> > >> Sent: Monday, August 13, 2012 12:57 PM
> > >> To: [email protected]
> > >> Subject: Re: just installed vfpro-9
> > >>
> > >>
> > >>
> > >> On Mon, Aug 13, 2012, at 06:49 PM, Gary Jeurink wrote:
> > >>> . I'm thinking of loading the
> > >>> project
> > >>> and doing a build but I don't want to lose everything if that
> corrupts
> > >>> it.
> > >>>
> > >> Back the whole thing up first, and then try it.
> > >> --
> > >>    Alan Bourke
> > >>    alanpbourke (at) fastmail (dot) fm
> > >>
> > >>
> > >>
> > >>
> > >>
> > >>
[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/CAJCBkspxP=mivvsj2itk1gvph_eddvb65qhnxd5aj9zydec...@mail.gmail.com
** 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