Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Anil Sharma
  Where is Anil Sharma?
 ludhiana
 India
 Anil Sharma
 To: Rajesh Samadia
  Where is Rajesh Samadia?
 Jaipur
 India
 Rajesh Samadia
 Tags
Subject: RE: Access Form Obkects in a Prg File
Thread ID: 288888 Message ID: 288889 # Views: 30 # Ratings: 0
Version: Visual FoxPro 6 Category: General VFP Topics
Date: Saturday, December 25, 2010 11:01:06 AM         
   


> Hi All,
>
> How Can I access or reference the Active Form in a prg file using _screen object
> please help with some examples
>
> regards
>
> rajesh

You can pass object parameter to your prg and in prg you can play with the object.

like

Do MyPrg with thisform

and in prg

lParameter p_Form

=messagebox(p.Form.Name)



Anil

www.nxgensoftwares.com
Accounting, Inventory, Hotel Management, Restaurant Kot Billing, MLM, Excise Accounting and much much more!.
My Blog

ENTIRE THREAD

Access Form Obkects in a Prg File Posted by Rajesh Samadia @ 12/25/2010 10:42:58 AM
RE: Access Form Obkects in a Prg File Posted by Anil Sharma @ 12/25/2010 11:01:06 AM