Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Cetin Basoz
  Where is Cetin Basoz?
 Izmir
 Turkey
 Cetin Basoz
 To: rajesh kumar
  Where is rajesh kumar?
 patna
 India
 rajesh kumar
 Tags
Subject: RE: Run Time Code
Thread ID: 249159 Message ID: 249166 # Views: 1 # Ratings: 0
Version: Visual FoxPro 9 SP2 Category: Projects and Design
Date: Tuesday, December 29, 2009 7:32:18 PM         
   


> Dear Foxperts,
> Is it possible to write some line of text(Program Code) at run time in any specifyed/all method of the form or object.
>
> Any help will highly appreciated.
>
> Thanks in Advance.
> Rajesh kumar
> KSPL Patna

Yes, you can write code at runtime and compile it. You can create a form totally in code, compile and run it at runtime.

However, despite this question is being asked many times, people generally don't realize it is not needed and they already know the code at design time.

For more explanation and sample code check:

https://www.foxite.com/archives/add-eventcode-to-new-objects-at-runtime-0000216016.htm

Cetin Basoz

.Net has got better.Think about moving - check my blog:
Blog (main)
Blog (mirror)

ENTIRE THREAD

Run Time Code Posted by rajesh kumar @ 12/29/2009 6:37:36 PM
RE: Run Time Code Posted by Vladimir Zografski @ 12/29/2009 6:54:18 PM
RE: Run Time Code Posted by Tony Vignone @ 12/29/2009 7:02:36 PM
RE: Run Time Code Posted by Cetin Basoz @ 12/29/2009 7:32:18 PM
RE: Run Time Code Posted by Anders Altberg @ 12/30/2009 5:12:11 PM
RE: Run Time Code Posted by rajesh kumar @ 1/2/2010 7:38:13 PM
RE: Run Time Code Posted by Stefan Wuebbe @ 1/3/2010 10:20:29 AM
RE: Run Time Code Posted by Anders Altberg @ 1/3/2010 4:19:01 PM
RE: Run Time Code Posted by rajesh kumar @ 1/7/2010 8:28:13 AM