Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
THISFORM can only be used within a method
Message
From
10/11/2006 09:04:08
Mike Yearwood
Toronto, Ontario, Canada
 
 
To
09/11/2006 21:44:13
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
OS:
Windows XP
Miscellaneous
Thread ID:
01168653
Message ID:
01168713
Views:
16
>Hi,
>Does anyone ever find error 1929? THISFORM can only be used within a method. Does anyone have the solution for this error? Thank you.
>
>Syah N

Put a button on a plain form. In the click event of that button do this:
DO MAKERED.PRG WITH THISFORM
to call an external .prg like this:

MAKERED.PRG
LPARAMETERS m.toForm

IF UPPER(m.toForm.BaseClass)<>"FORM"
  RETURN .F.
ENDIF

m.toForm.BackColor = RGB(255,0,0)
Previous
Reply
Map
View

Click here to load this message in the networking platform