Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Samir H.
  Where is Samir H.?
 Yogyakarta
 Indonesia
 Samir H.
 To: Cetin Basoz
  Where is Cetin Basoz?
 Izmir
 Turkey
 Cetin Basoz
 Tags
Subject: RE: GRID INIT Event - update
Thread ID: 311074 Message ID: 311136 # Views: 28 # Ratings: 0
Version: Visual FoxPro 9 SP2 Category: Forms
Date: Wednesday, June 29, 2011 4:17:16 AM         
   


> > Cetin, you should not call events, only methods.
> > (c) (yippee) (c)
> >
> > Regards
> > Samir
>
> Why? Who said that?
>
> Cetin Basoz
>
> .Net has got better.Think about moving - check my blog:
> My Blog
> Blog (mirror) - sounds to be down

I don't remember exactly. Me, and I think many others. At least I guess so. Aren't events things that "happen", in opposite to methods that "do" something? Sure we can call events, I used to do it when I was beginning VFP. But I stopped because I thought it is not a good practice.
When I read your reply to Sajan, I lol, cos I thought you made a joke. I doubt now, since you are the one asking. I must have heavily misunderstood something...

[Edit]
Just read your reply to Ilya. It seems it's something you don't do yourself frequently as well, though you said "it may be the only way sometimes". I was never in such a situation yet, till now I could always move the code that must called repeatedly to a separate method.

Regards
Samir

ENTIRE THREAD

GRID INIT Event - update Posted by Sajan Jacob @ 6/28/2011 4:20:17 PM
RE: GRID INIT Event - update Posted by Cetin Basoz @ 6/28/2011 4:48:50 PM
RE: GRID INIT Event - update Posted by Sajan Jacob @ 6/28/2011 5:02:06 PM
RE: GRID INIT Event - update Posted by Cetin Basoz @ 6/28/2011 11:09:35 PM
RE: GRID INIT Event - update Posted by Sajan Jacob @ 6/29/2011 4:23:37 AM
RE: GRID INIT Event - update Posted by Ilya Rabyy @ 6/28/2011 5:04:29 PM
RE: GRID INIT Event - update Posted by Cetin Basoz @ 6/28/2011 11:04:25 PM
RE: GRID INIT Event - update Posted by Samir H. @ 6/28/2011 7:07:21 PM
RE: GRID INIT Event - update Posted by Cetin Basoz @ 6/28/2011 11:10:17 PM
RE: GRID INIT Event - update Posted by Ilya Rabyy @ 6/28/2011 11:34:13 PM
RE: GRID INIT Event - update Posted by Cetin Basoz @ 6/29/2011 12:35:54 PM
RE: GRID INIT Event - update Posted by Samir H. @ 6/29/2011 4:17:16 AM
RE: GRID INIT Event - update Posted by Mike Gagnon @ 6/28/2011 11:57:13 PM
RE: GRID INIT Event - update Posted by Ilya Rabyy @ 6/29/2011 4:30:16 PM
RE: GRID INIT Event - update Posted by Samir H. @ 6/29/2011 6:01:39 PM
RE: GRID INIT Event - update Posted by Ilya Rabyy @ 6/28/2011 4:55:01 PM
RE: GRID INIT Event - update Posted by Sajan Jacob @ 6/28/2011 5:16:55 PM
RE: GRID INIT Event - update Posted by Ilya Rabyy @ 6/28/2011 6:12:43 PM
RE: GRID INIT Event - update Posted by Tamar Granor @ 6/28/2011 10:40:21 PM