I don't know anyway of accessing the MenuBar. But you can still decide if the DocHandling button should be activated or not here : Classes/SysSetupFormRun/docCursor. Just return null if you don't want to activate it. This check only happens on form open so you can't really de/activate on other times. If your modification is only for one form, just override the docCursor() method of that form. It's less risky then playing with SysSetupFormRun.
Steeve... -----Message d'origine----- De : akash malohatra [mailto:[EMAIL PROTECTED] Envoyé : 13 août 2004 00:16 À : [EMAIL PROTECTED] Objet : [Axapta-Knowledge-Village] De-active the Doc. handling button throgh coding Hi All, I want to de-active the Document Handling Icon from coding on some specific Condition. but i have less idea how to access the Menubar icon. is any one have any idea. Thanks in Advance Regards Akash ___________________________________________________________ALL-NEW Yahoo! Messenger - all new features - even more fun! http://uk.messenger.yahoo.com Sharing the knowledge on Axapta. Yahoo! Groups Links ------------------------ Yahoo! Groups Sponsor --------------------~--> Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar. Now with Pop-Up Blocker. Get it for free! http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/kGEolB/TM --------------------------------------------------------------------~-> Sharing the knowledge on Axapta. Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/Axapta-Knowledge-Village/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/