Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
0

Access to "Share" blue button and "Send Mail" on a tools pane to set enabled proc for these buttons

Community Beginner ,
Mar 23, 2020 Mar 23, 2020

Copy link to clipboard

Copied

For security reason I want to prevent attaching files to an email in some cases. I found three places where user are able to attach file to an email: File menu (share file menu item), tools pane (send email file tools item) and share blue button.
sharebutton.PNG

 

 For file menu item I can easyly set enabled proc for this menu item.

If I right click on a tools panel I'm able to hide this buttons so I suppose I'm able to do that from code.
I tried acquire panel from code like: AVAppGetToolBarByName("File"); becouse this item belongs to File section in rclick menu but I cannot asquire send email button : AVToolBarGetButtonByName(...).

I suppose that I got wrong toolbar.

What API should I use to get references for this buttons and as i'm able to set compute enabled proc for it?

TOPICS
How to

Views

413
Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Mar 30, 2020 Mar 30, 2020

Copy link to clipboard

Copied

LATEST

up

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines