Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Andy Rice
  Where is Andy Rice?
 San Diego
 California - United States
 Andy Rice
 To: Bill von Valtier
  
 Rochester
 
 Bill von Valtier
 Tags
Subject: RE: Thanks, Jamie
Thread ID: 22293 Message ID: 22334 # Views: 13 # Ratings: 0
Version: Visual FoxPro 6 Category: Forms
Date: Wednesday, April 16, 2003 1:02:28 AM         
   


<< Example: I want this program, when left-clicked on any image, to toggle the image between fullsize and thumbnail size I can do this either by placing a Click method in each of all the images added to the form.
... or I could write a single similar method in the parent Form's code. >>

Left-clicking only affects that one object, right?
If so, I would place code in the Click method of that object, at the class level.
Place code at the Form level if it affects multiple objects.

- Andy Rice
San Diego, CA


COMPLETE THREAD

Adding objects and event code programmatically Posted by Bill von Valtier @ 4/14/2003 10:39:54 PM
RE: Adding objects and event code programmatically Posted by Jamie Osborn @ 4/15/2003 11:52:58 AM
RE: Thanks, Jamie Posted by Bill von Valtier @ 4/15/2003 10:10:06 PM
RE: Thanks, Jamie Posted by Andy Rice @ 4/16/2003 1:02:28 AM
RE: Thanks, Jamie Posted by Jamie Osborn @ 4/16/2003 1:31:54 AM