Toggling of toolbar buttons

Hi guys..
M new to the gang..
m facing one probs..
I am unable to toggle buttons in toolbar with keystroke combination. I am using JDK 1.1 coz m working on Mac. I can't use setAccelerate method for toggling button in toolbar. Then how to do tht. eg. I wanna toggle a button with ctrl + B for bold button.
Thnx
Raj

Hi Juergen,
It is possible. It is in the properties of a specified Toolbar-Button.For that
Double click the required Toolbar Buttons.
In the general tab one check box (hidden) is there.
click on that and u have condition button.
Finally enter the required condition.
Refer this link.It ll be useful to u
<a href="http://help.sap.com/saphelp_nw70/helpdata/en/2d/10ca16b69e4f76995cac1b98801534/content.htm">http://help.sap.com/saphelp_nw70/helpdata/en/2d/10ca16b69e4f76995cac1b98801534/content.htm</a>
Regards,
Hemalatha
/* Points are Welcome*/

Similar Messages

  • Toolbar button/hotkey for "show cover page in two page view" in Acrobat X?

    In Acrobat X, how about make a toolbar button/hotkey for "show cover page in two page view"?  I find toggling this option to be useful for changing up the order of adjacent pages in magazines/books in which a two page spread has to match for a full large picture.  Due to frequent toggling, I would like a button/hotkey for this for easier access.

    Hotkeys for existing menu items are not modifiable, but you can add a scripted button which toggles it with the following code:
    if (layout.substr(-5)=="Right") layout = layout.replace("Right","Left");
    else layout = layout.replace("Left","Right");
    For info on how to add a button with a folder-level script, see the Acrobat SDK documentation. Scripted buttons will appear in a new panel on the tools pane in Acrobat X, not on the tool bar.

  • Where is hide/show toolbar button?

    Hello all,
    I have purchased Aperture as a retail package, and I am running Snow Leopard.  I have a "hide/show Toolbar" button in the upper left of the title bar, as indicated in the included screenshot.
    I used Aperture on a friend's machine, and he does not have the oblong "hide/show toolbar" button.  His OS is Lion with Aperture installed from the Mac Store.
    Does anyone have any ideas about why he would not have this convenient button, while I do?
    nathan

    Hello Nathan,
    if you want a button in the toolbar to toggle it on and of, you could do the following:
    Create an AppleScript to toggle the Toolbar on and off
    Save the script as an application
    Assign a nice icon to it, just like the drop of toothpaste, the button used to look like
    Drag the Apple Script to your Finder toolbar
    This AppleScript seems to toggle the toolbar - I have not done much testing so far:
    (* Toggle the Finder Window Toolbar , Autor LDF *)
    tell application "Finder"
      activate
              set wi to front window
              set vis to (get toolbar visible of wi)
              if vis then
                        set (toolbar visible of wi) to false
              else
                        set (toolbar visible of wi) to true
              end if
              return vis
    end tell
    The only problem is, you can easily hide the toolbar this way, but once the toolbar is hidden, you cannot turn it on again, since the button now is hidden , so you may wish to put a link to the script in the Dock as well
    Cheers
    Léonie

  • System Preferences Toolbar and Toolbar Button have disappeared

    My Systems Preferences toolbar disappeared, and so did the small button in the upper right that toggled the toolbar off and on. Any ideas on how to fix this without reinstalling OS X?
    I do not know when the toolbar disappeared (I don't change preferences often), and I do not know if any specific actions or software installations/upgrades caused the problem.

    iTBotB,
    Welcome to Apple Discussions.
    Quit System Preferences (if it's running) and trash the following file: Macintosh HD/Users/username/Library/Caches/com.apple.preferencepanes.cache
    Then launch System Preferences again and check for functionality.
    There is no toolbar button on the System Preferences window. My toolbar only has the following selections: ←/→, "Show All," and a "Search" field.
    ;~)

  • Keeping toolbar button pressed when displaying a popupmenu beneath it

    I have written a custom widget - the drop down button. We can find examples of this widget all over the place - for eg. IE back button, Mail button, JBuilder run button etc.
    The problem is this:
    when the arrow button is pressed I display the popupmenu. Now, I need the button to hold its "pressed" state and appear accordingly while the popup menu is visible.
              arrowButton.addMouseListener(new MouseAdapter(){
                   public void mousePressed(MouseEvent e)
                        showPopup();
    Any ideas?

    Here is your SSCE. Feel free to compile and run it. It will bring up a JFrame with toolbar buttons that show what I was talking about.
    Note that the non popup buttons appear pressed when the mouse is kept pressed on them. Not so for the popup ones.
    I cannot use an actionListener instead of mouse listener while displaying the popups because I need the popup to be visible with the first press of the mouse, not the first release (just like a combo-box)
    import java.awt.BorderLayout;
    import java.awt.event.MouseAdapter;
    import java.awt.event.MouseEvent;
    import javax.swing.JButton;
    import javax.swing.JFrame;
    import javax.swing.JMenuItem;
    import javax.swing.JPopupMenu;
    import javax.swing.JToggleButton;
    import javax.swing.JToolBar;
    import javax.swing.UIManager;
    public class Main3 {
         static JFrame frame = new JFrame("Test");
         static JToolBar toolBar = null;
         * @param args
         public static void main(String[] args)
              try
                   UIManager.setLookAndFeel("com.sun.java.swing.plaf.windows.WindowsLookAndFeel");
                   toolBar = new JToolBar();
                   toolBar.setFloatable(false);
                   toolBar.setRollover(true);
                   initToolBar();
                   frame.getContentPane().add(toolBar, BorderLayout.NORTH);
                   frame.pack();
                   frame.setSize(800,600);
                   frame.setVisible(true);
              catch (Exception ex)
                   ex.printStackTrace();
         private static void initToolBar()
              final JPopupMenu popupMenu = new JPopupMenu();
              popupMenu.add(new JMenuItem("hello"));
              popupMenu.add(new JMenuItem("world"));
              final JButton button = new JButton("Popup JButton");
              button.addMouseListener(new MouseAdapter(){
                   public void mousePressed(MouseEvent e)
                        popupMenu.show(button,0,button.getHeight());
              final JToggleButton toggleButton = new JToggleButton("Popup JToggleButton");
              toggleButton.addMouseListener(new MouseAdapter(){
                   public void mousePressed(MouseEvent e)
                        popupMenu.show(toggleButton,0,toggleButton.getHeight());
              final JButton nonPopupButton = new JButton("No Popup JButton");
              nonPopupButton.addMouseListener(new MouseAdapter(){
                   public void mousePressed(MouseEvent e)
                        System.out.println("Non popup button pressed");
              final JToggleButton nonPopupToggleButton = new JToggleButton("No Popup JToggleButton");
              nonPopupToggleButton.addMouseListener(new MouseAdapter(){
                   public void mousePressed(MouseEvent e)
                        System.out.println("Non popup toggle button pressed");
              toolBar.add(button);
              toolBar.addSeparator();
              toolBar.add(toggleButton);
              toolBar.addSeparator();
              toolBar.add(nonPopupButton);
              toolBar.addSeparator();
              toolBar.add(nonPopupToggleButton);
    }

  • Photoshop CC Toolbar buttons sticking.. getting stuck on single click

    Toolbar buttons get stuck in dropdown menu with single click... it's extremely irritating especially being in photoshop all day. I have to click the intended tool button twice in order to get rid of the drop down menu options. I realize it should do this when I double click or hold down click.. but not when I simply want to select a tool with a single click.  I've tried everything. Please help!

    Try resetting the tools:
    Also try changing the mouse settings such as double click speed..
    Benjamin

  • Issue with custom toolbar button in alv and leave screen

    Hi,
    in one subscreen (say screen 100)i have an alv with custom ADD  toolbar button..so in the user_command event handler ,i call a antoher screen(dialogue)..like if i click on ADD button ,it should display dialogue screen(say 200) and after entering input in dialogue screen i click on CONINUE to retrun to screen 100..problem is for the first time i click on ADD button its working fine ,succesffyuly returned to screen 100...but for the second time i click on add button , i have to click on twice the CONTINUE button to retrun to screen 100..when debuggin i found the user_command event routin is executin twice ..any solution..
    Thanks,
    srini

    Apparently handler is set for every new ALV instance. This you get by executing CREATE OBJECT alv... every time PBO is raised. Ensure you are executing this statement only once duirng program lifetime. Then the system will match event handler only with one ALV instance (executing it once).
    if r_alv is not bound.
       CREATE OBJECT r_alv ...
       SET HANDLER ...
    endif.
    Regards
    Marcin

  • Sample script to pop-up txt box on mouse-over on skin toolbar button?

    RH9,WebHelp Pro
    I am completely new to scripting. I have customised a toolbar button in the skin and while it is easy enough to place a hyperlink to be activated on click, I would also like to display a text caption when the user rolls over the button before clicking.
    Can anyone provide or point me to an example of the required syntax?
    Thank you.

    Hi,
    You have to modify the title attribute of the link. The browser will show that text when you hover the link. I believe that WebHelp uses the text of the button as the title.
    If that doesn't work for you, you can use the onMouseOver event to show and hide a tooltip. Check out Walter Zorn's tooltip script: http://edwardsmark.com/proofOfConcept/walterZorn/ It has some good examples of how to set up the script.
    Greet,
    Willam

  • DEEPLY upset w/rapid-fire updates 2 FF & TB. ex: michael b unable 2 update toolbar buttons; w/out them FF/TB just other apps. this method incredibly disconcerting, frustrating, etc. PLZ RECONSIDER METHOD; go back 2 version changes. annoyed w/mozilla, LA

    i've been using [& updating] mozilla FF & TB for years...in large part cause i felt they were the best for my needs, allowed the most functionality...and then became the most attractive with personas. but i found a long time ago, as with most computer applications, to wait till the second version of a new product. this was especially true of mozilla to make sure the add-on developers can keep up.
    the add-ons to FF & TB give me so much more functionality....so much better than any other browsers out there. and then there are the changing personas...too match one's changing moods. [all hail MaDonna and her constantly exquisite & innovated art work.]
    but mozilla has now made continuing this functionality an impossibility by its new horrible rapid update methodology. because MANY DEVELOPERS CAN NOT KEEP UP with this pace of significant change, FF & TB have been become FAR LESS FUNCTIONAL...and thus more & more like other, previously lesser, browsers & email programs out there,
    is this perhaps the clue to go take a look at chrome, safari, opera and other browsers?
    using this "update" methodology, will mozilla become like its predecessor, netscape.....OBSOLETE.
    or, as has happened with so many other software companies including netscape, many of its employees or contributors saw that they could, in fact, do a better job and so started their own companies, as in how mozilla was born.
    we can only hope this will be the case with mozilla: that many of its contributors will band together and divert from the mess that the current mozilla exec team has created.
    oh by the way, ff 3.6.19 has suddenly started to crash more often, which i dont understand. and TB has started to freeze. hmmmmm......???????
    if i changed browsers, i'd sorely miss personas & the many add-ons i use to customize FF & T B...making them it a much more functional than i ever could have hoped for. but each updated takes so much time & effort and so many add-ons are lost each time anyway, i would also lose that functionality anyway with mozilla. so what's the difference? NADA.
    for years i have been an ENTHUSIASTIC SUPPORTER of all things mozilla, encouraging friends and coworkers to install and use it....often going out of my way to install FF & TB for many of them myself.
    but as a result of the current "update" methodology by mozilla, i dont think updating FF & TB is worth it anymore so i stopped updating....both personally and professionally.
    not only have i stopped recommending FF & TB, as the computer tech at an elementary school i no longer update FF or TB on the dozens of our existing computers that i previously installed them on and i no longer install it on our new computers. in fact, because the update situation in terms of add-ons has given some of my people such a headache, i have actually UNINSTALLED FF and TB on some computers...and, horror of horrors, they have actually gone back to microsoft internet explorer than risk what they have just gone thru with mozilla.
    many on our staff are not so computer savvy so they depend on me for my computer advise and assistance.
    each our classrooms has 2-4 computers, plus we have many more in our main offices, resource room, library, etc. we just ordered a 30-laptop mobile computer lab: i will make sure FF & TB are NOT installed on them.
    our entire school campus has just had wi-fi installed. this will allow many on our staff to use their own laptops on campus. i will be discouraging them from installing FF or TB too.
    JUST BECAUSE SOMETHING IS POSSIBLE DOESN'T MEAN IT IS THE RIGHT OR BETTER THING TO DO.
    mozilla's exec team has failed to realize this...and for this reason alone i think they should all be sacked!!
    just as some at netscape thought they could do a better job and formed mozilla, I PRAY some mozilla people will see the LACK OF MERIT in the current mozilla methodology and move out, starting a new browser company reinstating the functionality and sensibility that mozilla once had.
    many developers can not keep up with this either....they also have lives, many of them very busy.
    so this update method is unfair to developers and users. THIS ALL SPELLS INCONSIDERATION BY SMARTY-PANTS MOZILLA EXECUTIVE TEAM.
    another problem at mozilla, getting more and more like evil microsoft in terms of DISALLOWING customer response.. i went to make a comment in another area, it would not even let me UNTIL I "UPGRADED" [if that's what it is] till the newest frustrating version. BOO HISS. BAD FORM MOZILLA
    mozilla looks like it is replicating microsoft's outrageous methodology of updating its products AND treatment of consumers. but even ms doesnt do crazy updating too often. frequency of updating is way too much. OOOPPS....mozilla IS making the oft-hated microsoft look good. who could have thunk it.
    or will mozilla end up going the way of netscape.......oblivion.
    my frustration increases daily with mozilla's repetitious notifications to update to TB 6. not a chance until i can have MY michael b toolbar button add-ons.
    as far as i am concerned the mozilla exec team has gone from stable & reliable to chaotic messiness. SHAME SHAME SHAME.

  • Create a toolbar/button in Acrobat 8.0

    I am sorry for my rather simple title, but at this stage I do not know what I am looking for.
    I want to give the possibility for someone using Adobe Acrobat 8.0 pro to be able to save a pdf document they currently have open into a database.
    For example in Office this is simple, I created an addin that got the document or email as an object and I sent the object to my MS Access database.  MS Access then saves the file somewhere and I upload the file with the known path.
    But maybe there is a simple way maybe I can create a button that saves the pdf in a special place and then signals either the MS Access database or even a small .dll/exe I have that this button has been clicked and then this .dll/exe can wake up the MSAccess databae and tell it to do some work.
    Any help would be greatl appreciated.

    Ok so spoon feeding is not an option in this forum.
    So could someone humour me with at least the "yes" word or "no" word.
    I can create a toolbar button which will automatically load when Acrobat loads by making a Plug-in?
    If my Target "Acrobat" family member is Acrobat Standard 8.1.5 (note not pro) I need to get the 8.0/8.1 SDK to help me?
    My Plug-in is going to be written in Visual Studio 2005/2008?
    I must learn/use C/C++ for my plugin language?
    I will compile the .dll and then make it an .api file extension?
    To give my .api to someone else I need only put it into the ...\Adobe\Acrobat\plug_ins?
    This .api does not need to be registered (regsvr32) or something like that in the Windows registry?
    I am sure that might lead to further questions but it is a good start so I know what to google to find out how to do it, and then get some sample code.

  • Plug-in toolbar button activation question

    I'm not a plug-in developer and do not foresee becoming one, but I am trying to understand how Acrobat handles custom toolbar buttons that you add via JavaScript.
    Im interested in the cEnable parameter that you can specify when using app.addToolbarButton. With it, you can specify a JavaScript expression that sets the value of event.rc to true or false to control whether the toolbar button is enabled or not. What Im trying to understand is when, exactly, does this expression get evaluated? In my testing, it seems as though it is triggered continuously, but I dont know what particular event(s) triggers it. It is not documented in the Acrobat JavaScript reference.
    I tried reading through the plug-in related documentation in the SDK to see if I could figure out what event a plug-in would be likely to register for if it needed to be able to disable its toolbar button(s), but came up empty. If a plug-in wanted to disable a toolbar button in a similar manner, what event(s) should it be listening to?
    What is Acrobat using to trigger the evaluation of the code specified with the cEnable parameter for app.addToolbar button? Speculations are welcome if not known.
    Thanks,
    George

    > In that case the cEnable code is run when the button loads and each time a document is opened/closed in that view pane.
    It's not just limited to that. Whatever event it is, it seems as though it is continually triggered. For example, if I set the cEnable code to be based on the value of a global variable, the button is affected immediately after I alter the global variable:
    cEnable: "event.rc = global.myVar;"
    Then, in the JavaScript console, if I execute:
    global.myvar = false;
    my button immediately becomes disabled. Something must trigger it, and I'm suspecting it's related to the ECMAscript/Forms plug-in and may not be an event that other plug-ins can be notified of.
    George

  • So how do I REALLY get the toolbar buttons to just show icons (and not text)?

    On my Bookmarks toolbar, my bookmarks "buttons" show icon AND text. I just want to show icon, not text. When I go right-click.....customize, the window "customize toolbars" opens. Down in the bottom left corner the "show" option dropdown is already set to "icons" (and only icons). But it's just not so. The toolbar buttons show icons AND text. If I cycle through that dropdown just for kicks, it doesn't change; I can choose "icons (only)" all day long, but the toolbar buttons still show text.

    Either of the following Add-ons allow you to show icons only and/or to have multiple rows on the Bookmarks Toolbar. Set the options on either after installation.
    *Multirow Bookmarks Toolbar Plus - https://addons.mozilla.org/en-US/firefox/addon/multirow-bookmarks-toolbarplus/
    *Roomy Bookmarks Toolbar - https://addons.mozilla.org/en-US/firefox/addon/roomy-bookmarks-toolbar/
    Other - Check your Plugins and update as needed.
    #Check your Plugins - https://www.mozilla.org/en-US/plugincheck/
    #'''''Adobe Shockwave for Director Netscape plug-in, version 11.6.4.634''''' (this old version has security issues)
    #*http://kb.mozillazine.org/Shockwave
    #*Download, save, close all browsers, run the installer you downloaded - http://get.adobe.com/shockwave/thankyou/

  • How to get "Selected" color for custom toolbar buttons?

    RH 8.0.2.208
    RoboHelp HTML
    WebHelp output
    I'm getting flack from internal QA folks about the custom toolbar buttons not having the same "selected" color as the default buttons (Contents, Index). I've copied the background color info from the <btnselected></btnselected> section for the built-in Contents to the <btnselected></btnselected> section for a custom toolbar button, but RH is ignoring it.
    Any hints?
    Leon

    You could try using the raw converter. Open one file and edit it (File>Open, pick the image and choose Camera Raw as the format before you click Open). Then open the next image and click the little four-lined square on the upper right side of the ACR window and choose Previous Conversion from the flyout menu.

  • Change the position of toolbar buttons in RoboHelp 9 (WebHelp)

    Hi,
    I have been trying to create a custom skin for my webhelp output. I am able to specify the toolbar background image. However, the text in the image is being hidden by the toolbar buttons (Contents, Index, Serach, etc buttons). Is there any way to alter the position of the toolbar buttons (for example, lowering these buttons) so that the text in the image is displayed clearly?
    I would be glad to know of any work-around to this problem.
    Thanks!

    Hello again
    After I replied I noticed you had replied to two other threads. Really old threads. You basically asked the same question twice about how to resize images.
    As you are new here you likely don't understand the "rules of the road" so to speak. So it would be helpful to you to take a few moments and read through the thread I'm linking below. We put it together to help new folks.
    Click here to view
    As for how to change those button images, you do that using another application that manipulates images. SnagIt, PhotoShop, Windows Paint, GIMP,  Paint Shop Pro, Etc.
    Cheers... Rick
    Helpful and Handy Links
    RoboHelp Wish Form/Bug Reporting Form
    Begin learning RoboHelp HTML 7, 8 or 9 within the day!
    Adobe Certified RoboHelp HTML Training
    SorcerStone Blog
    RoboHelp eBooks

  • Newbie: Toolbar Button QuickPrint works not in Browser

    Hi all,
    does anybody know a solution for this:
    - wrote a javascript that adds a toolbar button with the following lines:
    app.addToolButton({           
        cName: "atbToolButton1",           
    //    oIcon: oIcon,           
        cExec: "this.print({bUI: false, bSilent: true, bShrinkToFit: true});",           
        cTooltext: "Print without Print Settings dialog",           
        nPos: 0,       
        cLabel:"QuickPrint"
    - the script is in the Javascript directory of the reader with the name config.js
    - it works great but only in the reader
    - when a pdf is opened in the browser my great script doesn't seem to work
    - I know that in the browser this is the activex plug-in
    Is it possible to have this toolbar button in the browser plug-in? And is there another place to copy to the script?
    Please help.
    Thanks for any help in advance.
    PS: I use the reader version 9.1
    Regards
    Andreas

    Hi shilpi,
    thank you for your quick reply. Yes, it is like you wrote. I thought I have read that you can't drag this javascript toolbars to the "normal" other standard toolbars. But this was a mistake. In the menu there is now under Tools - configure Toolbar a new toolbar "additional programs" available and this can switch the quickprint toolbar. This is great. Thank you very much for your help.
    The only problem I have now is that I can switch on my quickprint toolbar but when I close the window and open another pdf in a browser IE seems to have forgotten that he should view the quickprint toolbar. I tried this with FireFox and here is the correct behavior. Firefox remembers that it should switch on the quickprint toolbar. But with Firefox I have another problem. I run Firefox with the Full Fullscreen Add-on. When the pdf is opend in fullscreen there is no way to close the window. So I search for an additional button "close". But there seems to be no function to close the current window where the pdf is viewed. In IE there is the correct behavior that the opend window is not opened in fullscreen mode. Does anybody know a way per javascript toolbar to make a button like "close current window"? Or should I open a new thread for this? Thanks for any help.
    Andreas
    PS: I now use Adobe Reader 9.3.2 and IE 8 or FF 3.6.3

Maybe you are looking for

  • How to access a Access array in flex

    Hi       Guys can any body explain me how to access an array.Actually i am succsufully getting value from array named Dynamic array.                    DynamicArray[i].language_1[0].translation; here the node language_1 is not static it may be langua

  • Error When Opening iTunes

      Windows XP SP2  This suddenly started happening and I don't know why. When I open iTunes it says "iTunes has encountered a problem and needs to close." then it closes. No iTunes window pops up or anything, just this error window. It has no relevant

  • Material valuation data lock causing failure in PGI

    Greetings experts, I am running into an issue where a material valuation lock is causing deliveries to fail goods issue when PGI is triggered from the shipment. These shipments contain many deliveries and are sometimes processed in mass (VT12). This

  • How to Download the Jar files ?

    hi Experts, i have try in many sites but i no idea plz send the sites Regards Chandu

  • Connecting SG300-10P to another SG300-10P

    please forgive the newbie question but trying to upgrade/expand my network beyond the simple linksys switch i currently use.  what is the proper way to connect a second SG300-10P to the system? current configuration is: cable modem to Cisco Router RV