Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: foxwizard
  Where is foxwizard?
 MANILA
 Philippines
 foxwizard
 To: Adam Nurrohman
  Where is Adam Nurrohman?
 Sindanglaut
 Indonesia
 Adam Nurrohman
 Tags
Subject: RE: error 1929. THISFORM can onl be used within a method
Thread ID: 112601 Message ID: 112606 # Views: 3 # Ratings: 0
Version: Visual FoxPro 9 Category: Errors & Debugging
Date: Friday, November 10, 2006 4:27:52 AM         
   


> Hi,
> Does anyone ever find error 1929? THISFORM can onl be used within a method. Does anyone have the solution for this error? Thank you.
>
> regards
>
> Adam N


Hi Adam,

Pass the object thisform to a procedure or external prg as an argument.

Example:

do prSampleProc with thisform

Then in the procedure prSampleProc you can do anything, even execute any method of that form:

Procedure prSampleProc()
lparameter lpthisform

lpthisform.myMethod

EndProc

Hope this may help.


foxwizard
Systems Analyst-Philippines

ENTIRE THREAD

error 1929. THISFORM can onl be used within a method Posted by Adam Nurrohman @ 11/10/2006 3:26:55 AM
RE: error 1929. THISFORM can onl be used within a method Posted by Ken Murphy @ 11/10/2006 4:15:54 AM
RE: error 1929. THISFORM can onl be used within a method Posted by Adam Nurrohman @ 11/11/2006 10:00:20 AM
RE: error 1929. THISFORM can onl be used within a method Posted by Ken Murphy @ 11/11/2006 3:57:07 PM
RE: error 1929. THISFORM can onl be used within a method Posted by Adam Nurrohman @ 11/16/2006 10:24:09 AM
RE: error 1929. THISFORM can onl be used within a method Posted by tushar @ 11/16/2006 10:29:39 AM
RE: error 1929. THISFORM can onl be used within a method Posted by Ken Murphy @ 11/16/2006 6:18:54 PM
RE: error 1929. THISFORM can onl be used within a method Posted by foxwizard @ 11/10/2006 4:27:52 AM