How to control custom button display or hide in toolbar

I had been added four buttons in Acrobat Tool bar.
Now I find a function AVToolButtonSetComputeEnabledProc in SDK that this function only control the button enable or disenable.
Now I want to control the custom button display or hide, how can I to do?
Does this SDK have a API to achieve my  need?

As of Acrobat X, we no longer support dynamic hiding/showing – only enable/disable.

Similar Messages

  • How to create custom button by amending template in sc and change po screen

    Hi,
    Can anybody tell the steps that How to create custom button by amending the template  in shopping cart or change purchase order screen.
    Full points for the answer.
    Edited by: shraman saha on Aug 17, 2008 6:44 PM

    Hi,
    I dont have any idea what you mean by Template for "Change Purchase Order" functionality. As far as i know there is a change button on the screen using which we go to the change mode and edit the PO.
    About your other query: you do not require to download any HTML pages. To see the templates for PO go through the following path:
    Transaction SE80 --> Internet options --> in the drop-down enter BBP_POC (for PO) --> Topic 99 --> HTML templates.
    Then look for the following templates :
    SAPLBBP_PO_UI_ITS 3000  --> for header basic data
    SAPLBBP_PO_UI_ITS 4000  --> for item overview
    SAPLBBP_PO_UI_ITS 4100  --> for item basic data
    SAPLBBP_PO_UI_ITS 2200  --> for buttons.
    Make appropriate changes to the screen and then publish it before using it. It is just like activating objects.
    Hope this helps.
    Thanks,
    Pradeep

  • How to restrict Customizing button from F1

    Hi all,,
    I created a role restricitng SPRO in Authorization object S_TCODE to all the end users from adopting SAP_ALL
    but
    when working with system when the users go for F1 help they could navigate again to SPRO through customizing button from help displayed screen.(Not in every F1 screen).
    Example - mm02 when changing material --- Ext. Matl Group
    How to disable that Customizing button.
    Would be able to provide a brief description if some one would be able to get my issue.
    -Rahul

    Hi  Alex & all,
    Im trying to reconstruct the thread in a simplified way.
    I have created a new role with few T-codes that is
    MM01
    MM02
    MM03
    MM04
    MMAM
    MM06
    ME51N
    ME52
    ME53
    ME5A
    ME5K
    ME96
    MELB
    ME54      & given full authorizations.
    Again its the same problem with F1 like i explained in my previous postings.What exactly needs to be disabled.
    when working with system when the users go for F1 help they could navigate again to SPRO through customizing button from help displayed screen.(Not in every F1 screen).
    Example - mm02 when changing material --- Ext. Matl Group
    How to disable that Customizing button.
    --Rahul

  • How to add custom buttons in a workflow email?

    We want to add custom buttons in the workflow mail, and we have tried it successfully in workflow notification, but failed in mail,so is there anyone know how to add buttons in workflow mail if it is possible.

    The buttons available are all of the different values on the Lookup Type you assign as the Result for the Notificaiton.  Add values to this list, or create a new list and point to it.

  • How to control the button available in SRM 7.0

    Dear ,expers :
       I work in SRM 7.0 .SP 09
    You know ,the purchaser can do the "renew "in contract in the purchaer's view .But in my case ,some purchaser can do this ,but other nerver .So I just want to control the button available though the user role .
      Or other method ?
    BestRegards !
    Alex !

    Hi,
        We can achieve this with Meta configuration . You have to  configure  the button in the following path with dynamic customer class  and method and in this method you have to check the authorization for the user for the Auth object .
    if user is not authorized you can disable this button.
    Like this you can achive the control on the button.
    ->SAP Supplier Relationship Management
         ->SRM Server
            ->Cross-Application Basic Settings
                ->Extensions and Field Control (Personalization)
                   ->Control Actions
                      ->Configure Control Actions at Item level(    Check the button is at header level or item level or sub sructure level                                                                               
    and  configure accordingly   )
    regards,
    Devi

  • How to add Custom button to existing ALV toolbar

    Hi,
    I want to add custom buttons for varaints in the existing row PRINT VERSION/EXPORT
    How do we do that?
    Rgds
    Vara

    I have used the standard component u2018salv_wd_tableu2019 in my application and will be able to give example by adding a button named 'NEW__BUTTON' .
    In the WDDOINIT method of the component controller, use the following code to define column name, your own buttons, visible column for the same component usage.
    DATA:
    lr_salv_wd_table_usage TYPE REF TO if_wd_component_usage,
    lr_salv_wd_table TYPE REF TO iwci_salv_wd_table.
    *Check ALV component usage
    lr_salv_wd_table_usage = wd_this->wd_cpuse_alv( ).
    IF lr_salv_wd_table_usage->has_active_component( ) IS INITIAL.
    lr_salv_wd_table_usage->create_component( ).
    ELSE.
    lr_salv_wd_table_usage->delete_component( ).
    lr_salv_wd_table_usage->create_component( ).
    ENDIF.
    *Get ALV component
    lr_salv_wd_table = wd_this->wd_cpifc_alv( ).
    wd_this->mr_table type ref to CL_SALV_WD_CONFIG_TABLE.
    *Get ConfigurationModel from ALV Component
    wd_this->mr_table = lr_salv_wd_table->get_model( ).
    *Set table settings
    DATA:
    lr_table_settings TYPE REF TO if_salv_wd_table_settings.
    lr_table_settings ?= wd_this->mr_table .
    lr_table_settings->set_visible_row_count( '5' ).
    lr_table_settings->set_width( '100%' ).
    DATA:
    lr_header TYPE REF TO cl_salv_wd_header,
    l_header_text TYPE string.
    lr_header = lr_table_settings->get_header( ).
    l_header_text = cl_wd_utilities=>get_otr_text_by_alias( 'NEW__BUTTON' ).
    lr_header->set_text( l_header_text ).
    lr_header->set_tooltip( l_header_text ).
    "lr_table_settings->set_selection_mode( cl_wd_table=>e_selection_mode-multi_no_lead ).
    *Set functions
    IF wd_this->mb_no_maintain NE abap_true.
    DATA:
    lr_function TYPE REF TO cl_salv_wd_function,
    lr_fe_button TYPE REF TO cl_salv_wd_fe_button,
    l_btn_text TYPE string.
    *Add the button here for validation on the top of the ALV
    *This is where you add the buttons on the same ROW.
    lr_function = lr_functions->create_function( 'NEW__BUTTON' ).
    CREATE OBJECT lr_fe_button.
    l_btn_text = cl_wd_utilities=>get_otr_text_by_alias( 'NEW__BUTTON' ).
    lr_fe_button->set_text( l_btn_text ).
    lr_fe_button->set_tooltip( l_btn_text ).
    lr_function->set_editor( lr_fe_button ).
    After defining the buttons 'NEW__BUTTON' , handle the actions for the same using the method u2018LIST_ACTIONu2019 which should have the event as u2018ON_FUNCTIONu2019, controller as u2018interface controlleru2019 and component use as the name you have given say u2018ALVu2019.
    In the method u2018LIST_ACTIONu2019, handle the actions as below. This method will have the following importing parameters.
    WDEVENT Importing CL_WD_CUSTOM_EVENT
    R_PARAM Importing IF_SALV_WD_TABLE_FUNCTION
    method list_action .
    case r_param->id .
    when  'NEW__BUTTON'.
    "Do the validation here-"
    endcase.
    endmethod.
    Thanks,
    Rajkumar.S

  • How to add custom buttons in the tool bar of the crystal reports viewer

    Hi,
    I'm using Crystal report viewer (Crystal 2008) in my report and I want to add custom buttons and handle them in the tool bar of the viewer. Is there anyway to achieve this?
    Please help me in this regard.
    Thanks in advance.
    Siva.

    I did this by adding a picturebox to the toolbar, the same size as the buttons, and loading in an image, and putting code into the Click event of the picturebox.
    I also put code into the MouseHover event to change the picture's background color and into the MouseLeave event to change it back.
    I have a couple of these buttons. They work very nicely and really look like part of the toolbar.

  • How to make the buttons INVISIBLE in the Application toolbar

    Hi All,
    I have a requirement to create a button in the Application toolbar of the Module Pool Screen. The field should be made Invisible by default. and it should be displayed based on one condition.
    Could you please let me know how to make that particular button INVISIBLE. I think we can make it invisible by using EXCLUDING statement. But, How to make the button VISIBLE again when the check is satisfied.
    I found from the portal that the FM 'VIEW_SET_PF_STATUS' can be used to make a button INVISIBLE. Could anyone help me out how to pass the parameters to this Function module?
    or is there any Function Module available to make the button VISIBLE and INVISIBLE? Please help me on this issues.
    Is there any possibility to make the button VISIBLE or INVISIBLE as we do for the screen fields using LOOP AT SCREEN..?
    Thank you in advance.
    Regards.
    Paddu.

    Hi,
    Try to use below in the PBO module status_0100 OUTPUT.
    DATA t_fcode TYPE TABLE OF sy-ucomm.
    refresh t_fcode[].
    APPEND 'Function code name of the button' TO t_fcode. 
    Check the condition here for which you want to make field visible.
        DELETE FCODE of the button from T_FCODE table
      ENDIF.
      SET PF-STATUS 'STATUS_0100' EXCLUDING t_fcode.

  • Custom Button in ALV Grid standard toolbar

    Hello Experts,
    I am working on the program in which i have to add custom button to standard toolbar in ALV. I have created the button using the method as below
         data: lr_functions type ref to cl_salv_functions_list.
         lr_functions = gr_table->get_functions( ).
         lr_functions->set_default( abap_true ).
         data: l_text       type string,
               l_icon       type string.
    *    l_text = text-b01.
         l_icon = icon_complete.
         try.
           lr_functions->add_function(
             name     = 'Update Equipment Cost'
             icon     = l_icon
             text     = l_text
             tooltip  = 'Update Equipment Cost'
             position = if_salv_c_function_position=>right_of_salv_functions ).
           catch cx_salv_existing cx_salv_wrong_call.
         endtry.
    I don't understand how to add functionality to this button. I want to design the functionality as when user press button then corresponding values on the screen will be automatically get updated in the table.
    Thanks,
    Avadhut

    Hi Avadhut,
    When you want to add a custom button on ALV - better copy the GUI Status of the standard ALV to your program.  So all the function codes are copied , now you can go to the GUI_STATUS which is copied and you can mention your own function code or you can let the standard function codes as it is. You can copy the GUI of standard ALV from SE80 transaction. Let me know if you need any assistance in doing it.
    Now, if you want to write the code for any of the button on ALV -  then you need to handle it is the class.
    I used CL_SALV_TABLE - if you are using same then the below code gives you an idea of it.
    1. Create a local class in your program
    *       CLASS lcl_alv_events DEFINITION
    CLASS lcl_alv_events DEFINITION FINAL.
       PUBLIC SECTION.
         METHODS: on_user_command FOR EVENT added_function OF cl_salv_events
                                  IMPORTING e_salv_function.
    ENDCLASS.                    "lcl_alv_events DEFINITION
    DATA: gv_event_handler TYPE REF TO lcl_alv_events.
    CREATE OBJECT gv_event_handler.
    * Header object
    CREATE OBJECT gr_header.
    2. Class Implementation
       CLASS lcl_alv_events IMPLEMENTATION.
          METHOD on_user_command.
         CASE e_salv_function.
         **When PROCESS Button is selected
           WHEN '&PROC'.    ***> In my program I added Process button and fcode for it - &PROC
          ***********Write your code here ******************
        ENDCASE.
       ENDMETHOD.
    ENDCLASS.                    "lcl_alv_events IMPLEMENTATION
    3. Calling events
       data: gr_events    TYPE REF TO cl_salv_events_table,
               gr_alv       TYPE REF TO cl_salv_table.
       TRY.
           CALL METHOD cl_salv_table=>factory
             IMPORTING
               r_salv_table = gr_alv
             CHANGING
               t_table      = p_in_tab[].    ***This is my internal table data.
          gr_events = gr_alv->get_event( ).
             SET HANDLER gv_event_handler->on_user_command FOR gr_events.
         CATCH cx_salv_msg INTO lv_msg.                      "#EC NO_HANDLER
         CATCH cx_salv_not_found INTO lv_excep.              "#EC NO_HANDLER
         CATCH cx_salv_data_error.                           "#EC NO_HANDLER
       ENDTRY.
    Regards,
    Rafi

  • Need custom button for Thunderbird for FF toolbar; Don't know the website.

    I have had a Thunderbird Custom Button for my FF toolbar and have lost it. This happened once before had someone gave me a website where all of the old custom buttons qwe listwed and I was able to drag & drop the button from there. Unfortunately I do nor had that website and hope that someone will be able to provide it for me. Thanks.

    Take a look at [http://www.google.com/search?q=Thunderbird+Custom+Button+for+my+FF+toolbar&sourceid=mozilla-search&start=0&start=0&ie=utf-8&oe=utf-8num=100 this search]

  • Office 2013 add-in - How to add custom button in existing tab/group at home and the same at individual message level?

    Hello Everyone,
    Currently, I'm developing an outlook add-in and would like to setup a custom ribbon button at one of the existing tabs at home screen and at message level too, when
    it is opened from home screen.
    Following are the helpful screen prints.
    Any help would be much appreciated.
    Thanks, <b>Ankit Shah</b> <hr> Inkey Solutions, India. <hr> Microsoft Certified Business Management Solutions Professionals <hr> http://ankit.inkeysolutions.com

    Hello Ankit,
    All you need is to specify the IdMso value of the built-tab where you want to place your controls. See
    How to: Customize a Built-in Tab for more information (TabMail and TabReadMessage).
    You can find the list of built-in controls in the following documents:
    Office 2010 Help Files: Office Fluent User Interface Control Identifiers
    Office 2013 Help Files: Office Fluent User Interface Control Identifiers
    The Fluent UI is described in depth in the following series of articles in MSDN:
    Customizing the 2007 Office Fluent Ribbon for Developers (Part 1 of 3)
    Customizing the 2007 Office Fluent Ribbon for Developers (Part 2 of 3)
    Customizing the 2007 Office Fluent Ribbon for Developers (Part 3 of 3)

  • How to make a button show AND hide a field?

    In an interactive form (with Adobe Acrobat X Pro), how can I purpose one button to:
    1.) Show a field when clicked the first time
    2.) Hide a field when clicked a second time
    I seem to only be able to make a button do one or the other, but not both with the same button. Maybe an easier way to say this is I want to be able to have one button turn a field "on" and "off".
    Any help would be GREATLY appreciated. Thanks! 

    Use this code:
    var f = this.getField("OtherFieldName");
    if (f.display==display.visible) f.display = display.hidden;
    else f.display=display.visible;

  • How to control detail records displayed after requery

    I have a master/detail form. I did not like the behavior of the screen clearing after I did a save so I added code to requery the master/detail records. There is still one behavior which I need to fix -- after I requery the master and detail records, I always get the first set of detail records, not the set of records displayed on the screen when I did the save. So if I have detail rows 40-50 displayed on the screen and do a save, the master/detail rows are requeried but I see rows 1-10 on the screen, not 40-50. Any ideas how to code around this?

    This is due in part to the fact that detaching the detail object from its master and actually deleting the detail object are two different things. To work around this, add the following in your session bean, where Departments and Employees are your master/detail objects, respectively:
    public void removeNestedEmployee(Employees entity) {
    Departments owningDept = entity.getDepartment();
    owningDept.removeDepartment(entity);
    UnitOfWork uow = getSessionFactory().acquireUnitOfWork();
    uow.deepMergeClone(owningDept);
    Object empWorkingCopy = uow.readObject(entity);
    uow.deleteObject(empWorkingCopy);
    uow.commit();
    Re-generate the data control for this session bean and then drag and drop this method onto your JSF page. The argument you'll pass in is the data provider for the selected employee:
    ${bindings.departmentCollectionIterator.currentRow.dataProvider}
    This will both detach the record from the owning entity, delete the record, and force a refresh of both the master and detail iterators.
    Hope this helps,
    Lynn Munsinger
    Oracle JDeveloper and ADF Product Management

  • How to add custom button to Insert tab?

    Hello!
    I want to add my own button to the Insert tab. This is the
    tab where there are buttons like h1, h2, ul, ol etc.
    I often need the code tag, but this tag is not avaible in the
    Insert tab. So how to add a custom?

    Any help?

  • How to save custom metadata display in CS4.2?

    I know this has been asked in the past, but no one has come up with an answer I can find.
    Here's what happens: in the project bin, I click Metadata Display, click the Premiere Project Metadata line, unclick the metadata I don't want to see, save the settings as My Setting, and go on with my day.  The settings remain the same UNTIL I close the propject and open it back up and all the settings go back to default.  So I open the Metadata Display back up from the project bin to reload my saved, custom settings...the (custom) bar is greyed out and not selectable, so I have to go through and do this all over.
    Essentially, Premiere is NOT saving the custom settings.  Why is this happening?  It worked when I had 4.1.  What's going on?

    do a chain and endchain on the fields.Then insert the fields in to the required database.

Maybe you are looking for

  • IPhone 4 Voice call problem when wifi is active

    Not always, but randomly my voice calls (send/receive) establishes properly. However, neither me or the other party can hear anything. The most common times it occurred, is when the wifi is active. Any suggestion anyone please? Additional Info: I had

  • How to post stock in quality inspection

    Hi all we want to post stock in quality by using MB1A t_code

  • Can a plugin create a new catalog file based on the current (or a specified source) catalog?

    A little background: I've been looking for a tool that would allow me to host my photos from my network at home, but let me search my lightroom database (mainly by date, keyword, metadata, or location) on mobile devices (e.g. iPhone or iPad).  There

  • My wireless isn't working anymore.

    Hi You have a couple of options as I see it please try these steps might help you to fix your issue. 1) Disconnect the Battery & Adapter then press & hold the power button on Notebook for 30 seconds then turn on the unit and check if the Wireless lig

  • B/S items on-line transferred to PCA without 3KEH

    Hello guys, we got a strange situation in our system: Vendor items (B/S account) is on-line transferred to PCA (entry in GLPCA is written) without being entered in 3KEH. Normally the value should be transferred to PCA only via F.5D and 1KEK and only