>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)