Antonio , same error , I think that the error is in METHOD SetPrompt( cPrompt ) CLASS TMenuItem If( ::oMenu != nil .and. ( ::oMenu:l2007 .OR. ::oMenu:L2010 ), MF_OWNERDRAW, 0 ) ) if I exclude all works /* nFlags := nOR( If( ::lActive, MF_ENABLED,; nOR( ...