Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Mike Yearwood
  Where is Mike Yearwood?
 Toronto
 Canada
 Mike Yearwood
 To: Paul D'Anna
  Where is Paul D'Anna?
 Metairie
 Louisiana - United States
 Paul D'Anna
 Tags
Subject: RE: Run time Code
Thread ID: 143212 Message ID: 143249 # Views: 1 # Ratings: 0
Version: Visual FoxPro 9 Category: Forms
Date: Sunday, August 26, 2007 9:05:58 PM         
   


> I am creating a number of text Boxes at run time using "AddOBJECT". Each Textbox has a different name. How do I dynamically add a few lines of code to the click event of each textbox. The code will be different fof each textbox and may many lnes of code. Can I do that? Please give me an example.
>
> Thanks in advance;
>
> Paul D'Anna

Hi Paul

What do you want these buttons to do? Can you not see how to break it down into a hierarchy of classes? All too often people think they want to add code at runtime, but I find this is because they couldn't see alternatives.

Mike Yearwood
www.foxridgesoftware.com
President: Toronto Ontario FoxPro User's Group

ENTIRE THREAD

Run time Code Posted by Paul D'Anna @ 8/26/2007 5:21:49 AM
RE: Run time Code Posted by tushar @ 8/26/2007 8:05:45 AM
RE: Run time Code Posted by Paul D'Anna @ 8/26/2007 12:41:10 PM
RE: Run time Code Posted by tushar @ 8/26/2007 3:27:41 PM
RE: Run time Code Posted by Mike Yearwood @ 8/26/2007 9:05:58 PM
RE: Run time Code Posted by Cetin Basoz @ 8/27/2007 11:58:03 AM
RE: Run time Code Posted by tushar @ 8/27/2007 12:21:07 PM
RE: Run time Code Posted by Cetin Basoz @ 8/27/2007 12:59:11 PM