- Code: Select all Expand view
::obtns:= array(2)
...
REDEFINE BUTTON ::oBtns[1] ID 200 OF oDlg
REDEFINE BUTTON ::oBtns[2] ID 201 OF oDlg
ACTIVATE DIALOG oDlg CENTERED ON INIT (this:botones())
RETURN (NIL)
//------------------------------------------------------------------------------
METHOD botones() CLASS T
aEval(::oBtns, {|o| o:disabled()})
RETURN (NIL)
Me tira un error y dice:
- Code: Select all Expand view
- Error description: Warning BASE/1004 Message not found: TBUTTON:DISABLED
como lo soluciono?
gracias