Highlighted

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

Community Beginner ,
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

51

Likes

Translate

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

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

Community Beginner ,
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

52

Likes

Translate

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 Beginner ,
Mar 30, 2020

Copy link to clipboard

Copied

up

Likes

Translate

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
Reply
Loading...
Resources
Trending Issue & Solution
Edit PDF in Adobe Acrobat Pro DC