eval error
Posted: Wed Jul 30, 2008 7:56 pm
On mine class I create LButtonUp( nRow, nCol, nKeyFlags ) method to click a graphics .
it make error on eval
Error description: Error BASE/1004 Class: 'LOGICAL' has no exported method: EVAL
on the command of the control I write
@ x,y myclass ... action msginfo("myclass")
where is the error ?
it make error on eval
Error description: Error BASE/1004 Class: 'LOGICAL' has no exported method: EVAL
Code: Select all | Expand
METHOD LButtonUp( nRow, nCol, nKeyFlags ) CLASS myclass
::lPressed := .f.
if ::lCaptured
::lCaptured := .f.
ReleaseCapture()
::Refresh(.f.)
if ::lButton
if ::bAction != nil
[b] Eval( ::bAction) /////////---> error why ???[/b] endif
::lOver := .f.
::Refresh(.f.)
endif
endif
return super: LButtonUp( nRow, nCol, nKeyFlags )
on the command of the control I write
@ x,y myclass ... action msginfo("myclass")
where is the error ?