... 1) // Generates an error on this line. If I comment out the window opens oMapPoint:bOnEvent = { | event, aParams | cEvents += EventInfo( event, aParams ) } ACTIVATE WINDOW oWndMap ; ON INIT ( oWndMap:Move(0,0,640,390,.t.) ) ; ON PAINT oWndMap:SetFocus() ; VALID ( oMapPoint:Do("CloseMap"), ...