for x=1 to 620 aforo[x]:bRClicked:={ |nRow, nCol, nFlags, x | GenBlock1(nRow, nCol, aforo[x], x) } next funct GenBlock1( nRow, nCol, oBtn , x ) return { || dblmenu( nRow, nCol, oBtn ,x ) } funct dblmenu( nRow, nCol, oBtn, x ) Local oMenu C5MENU oMenu POPUP c5menuitem 'prueba' ...