Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Ravi Chavan
  Where is Ravi Chavan?
 Mumbai
 India
 Ravi Chavan
 To: tushar Kanvinde
  Where is tushar Kanvinde?
 Kolhapur, Maharastra
 India
 tushar Kanvinde
 Tags
Subject: RE: Closing VFP form - form along with Class
Thread ID: 345249 Message ID: 345433 # Views: 30 # Ratings: 0
Version: Visual FoxPro 9 Category: Forms
Date: Wednesday, May 23, 2012 10:50:43 AM         
   


> > Dear all,
> >
> > I create one form and set timer class on that form . and in timer click every i have called command button click events and in command button click event procedure ....i have call class with two parameter .first time this class is calling and process my data and closing my form.
> >
> > i have create prg for calling that form .and after form i have given READ Events also.
> >
> > Please advice.
> >
> > Thanks in advance
> > Ravi.
> >
> > my program :
> >
> > main .prg
> > do form myProcsssform.scx
> > read events
> >
> > on myProcessform.scx
> > timerset
> > interval = 10000
> >
> >
> > in click button
> > ox=createobject("myporcessclasss")
> > ox.mymethod(26,0)
>
> The timer should have a timer event. Have you coded anything in it. Does ox.MyMethod clear events or close the form.
>
> Regards
> Tushar
> http://weblogs.foxite.com/tushar/

Hi Tushar,
Thanks you very much for your reply ,i have called one method in timer events as below . and not written clear events ...only in prg i have written read events . when I call from vfp command windows it is working and not closing the form, it is recycling as many time as i want ...but when i make exe and run , one round it is working and closing the form.

timer Event Method :
Thisform.cmdstart.click

Please advice .
Thanks in Advance
RAvi.

ENTIRE THREAD

Closing VFP form - form along with Class Posted by Ravi Chavan @ 5/21/2012 12:43:38 PM
RE: Closing VFP form - form along with Class Posted by anand kulkarni @ 5/21/2012 12:48:46 PM
RE: Closing VFP form - form along with Class Posted by tushar @ 5/21/2012 1:57:06 PM
RE: Closing VFP form - form along with Class Posted by Ravi Chavan @ 5/23/2012 10:50:43 AM
RE: Closing VFP form - form along with Class Posted by tushar @ 5/23/2012 11:56:16 AM