Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Jignesh Parekh
  Where is Jignesh Parekh?
 Rajkot
 India
 Jignesh Parekh
 To: Samir H.
  Where is Samir H.?
 Yogyakarta
 Indonesia
 Samir H.
 Tags
Subject: RE: Get scx name from within other form?
Thread ID: 289344 Message ID: 289348 # Views: 41 # Ratings: 0
Version: Visual FoxPro 9 SP2 Category: Forms
Date: Friday, December 31, 2010 4:46:33 AM         
   


> Hi all
>
>
* filename of form1 = '\forms\frmCustomers.scx'
> * form1.cmdRun.click()
> DO FORM frm2
> 
> * frm2.load()
> _vfp.ActiveForm.name	&& -> returns 'form1'

>
> How can I get the SCX file name of form1 (frmCustomers.scx) from within frm2? Is that possible?
> (I could use a parameter in frm2, but I don't want to for this purpose)
>
> Regards
> Samir

Hi Samir,

SYS(16)

Will return PROCEDURE FORM2.LOAD C:\FORMS\FRMCUSTOMERS.SCT if form on C:

Regards,
Jignesh Parekh
--------------------------------------------------------------------------------------------------------------------------------
If better is possible, Good is not enough.

ENTIRE THREAD

Get scx name from within other form? Posted by Samir H. @ 12/31/2010 4:03:47 AM
RE: Get scx name from within other form? Posted by Jignesh Parekh @ 12/31/2010 4:46:33 AM
RE: Get scx name from within other form? Posted by Samir H. @ 12/31/2010 5:01:40 AM
RE: Get scx name from within other form? Posted by Ony Too @ 12/31/2010 5:02:42 AM
RE: Get scx name from within other form? Posted by Samir H. @ 12/31/2010 5:26:37 AM
RE: Get scx name from within other form? Posted by Martina Jindrov√° @ 12/31/2010 9:38:33 AM
RE: Get scx name from within other form? Posted by Samir H. @ 12/31/2010 9:45:29 AM
RE: Get scx name from within other form? Posted by Stefan Wuebbe @ 12/31/2010 9:55:09 AM
RE: Get scx name from within other form? Posted by Samir H. @ 12/31/2010 10:11:50 AM
RE: Get scx name from within other form? Posted by Stefan Wuebbe @ 12/31/2010 11:15:48 AM
RE: Get scx name from within other form? Posted by Mike Yearwood @ 1/1/2011 4:04:06 AM