Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Borislav Borissov
  Where is Borislav Borissov?
 Sofia
 Bulgaria
 Borislav Borissov
 To: Dexter Carlit
  Where is Dexter Carlit?
 Cabanatuan
 Philippines
 Dexter Carlit
 Tags
Subject: RE: Alternative Solutions
Thread ID: 104637 Message ID: 104666 # Views: 1 # Ratings: 0
Version: Visual FoxPro 9 Category: .NET
Date: Friday, August 18, 2006 8:45:46 PM         
   


> > > > > Foxperts,
> > > > >
> > > > > I would like to know if there still any other solution in VFP that we can make our Form and Main screen not to freezed while creating and removing objects on runtime? I hope this is not of the limit of VFP.... I'm wondering if this would this be fix on SP2 by 2007 :-(
> > > > >
> > > > > Regards,
> > > > >
> > > > > Zed

> > > >
> > > > What do you mean with "not freezed"? My forms never freeze when I add or remove objects.
> > > >
> > > > Borislav Borissov
> > > >
> > > >

> > >
> > >
> > > I have attached a sample source code of what I was trying to acheive.
> > > https://www.foxite.com/uploads/e98bc4ab-36f2-4c7e-9265-ed6b49283a6d.zip
> > >
> > > Thanks,
> > >
> > > Zed

> >
> > The form doesn't freeze becuase of Adding and removing objects. It freeze becuase of timer. It fires every second and you don't have time to disable it.
> >
> >
> > Borislav Borissov
> >
> >

>
> You got the point Sir or probably there's something wrong with the code. I suspect the Inkey() and the timer I even tried Do/Endo still the same results. because of timer It's hard for me to click and run another or multiple instances of the form to do the same process. I have a partner that created the same logic in VB.Net and I saw the big difference on the speed and the consistency of form they are very well indeed probably that is because VFP is not 100% multithread developers tools the same with VB. On VB.Net the creation and removal of object on runtime doesn't freeze the MDI/form and not even slow the process...
>
> Thanks,
>
> Zed


Not tested but put DO EVENTS in loop and in first line of the timer event you must disable time and last line enable it again.

Borislav Borissov



ENTIRE THREAD

Alternative Solutions Posted by Dexter Carlit @ 8/18/2006 4:46:16 PM
RE: Alternative Solutions Posted by Borislav Borissov @ 8/18/2006 5:12:48 PM
RE: Alternative Solutions Posted by Dexter Carlit @ 8/18/2006 7:06:06 PM
RE: Alternative Solutions Posted by Borislav Borissov @ 8/18/2006 7:34:16 PM
RE: Alternative Solutions Posted by Dexter Carlit @ 8/18/2006 7:54:27 PM
RE: Alternative Solutions Posted by Borislav Borissov @ 8/18/2006 8:45:46 PM
RE: Alternative Solutions Posted by Dexter Carlit @ 8/18/2006 9:12:08 PM
RE: Alternative Solutions Posted by Borislav Borissov @ 8/18/2006 9:21:02 PM