Hiding parts of the tool bar

In the ALV grid using OOPS , I want to hide some tools of the tool bar. I knwo I must pass a table to the fist display . But from where do I get to know the names of the tools , I mean which table.
Right now i want to hide all components except the sort and the print.
Thank you

Hi,
In an internal table populate all the ALV Tool bar ICON names which you want to Hide and pass it to IT_EXCLUDE_TOOLBAR in the ALV call Method.
data : it_toolbar type ui_functions, "Used for Toolbar addition
wa_toolbar like line of it_toolbar."Used in form Exclude_Toolbar
wa_toolbar = cl_grid->MC_FC_LOC_APPEND_ROW.
append wa_toolbar to it_toolbar.
wa_toolbar = cl_grid-mc_fc_loc_paste. "Toolbar Button PASTE OVER ROW
append wa_toolbar to it_toolbar.
wa_toolbar = cl_grid-mc_fc_loc_paste_new_row. "Toolbar Button PASTE NEW ROW
append wa_toolbar to it_toolbar.
wa_toolbar = cl_grid->mc_fc_find. "Toolbar Button FIND
append wa_toolbar to it_toolbar.
CALL METHOD cl_grid->set_table_for_first_display
EXPORTING
IT_TOOLBAR_EXCLUDING = it_toolbar
CHANGING
it_outtab = it_sflight[]
IT_FIELDCATALOG = g_fieldcat.
ONEMORE SAMPLE CODE.....
PEFORM EXCLUDE_TOOLBAR.
CALL METHOD grid1->set_table_for_first_display
EXPORTING
i_structure_name = 'ZFLP_STCUALCONDPRI'
is_layout = gs_layout
i_save = 'A'
IT_TOOLBAR_EXCLUDING = it_toolbar1
CHANGING
it_outtab = gt_zflp_ttcualcond
it_fieldcatalog = gt_fieldcat.
My code for buttons..
FORM EXCLUDE_TOOLBAR.
data : it_toolbar1 type standard table of ui_functions,
wa_toolbar like line of it_toolbar.
You need to specify the Methods of the ALV ICONS which are not required.
THis code will Grade out PASE and Find buttons.
Similarly you can pass the name of icons which are not required to this internal table
and append it.
wa_toolbar = cl_grid-mc_fc_loc_paste. "Button PASTE append wa_toolbar to it_toolbar1.
wa_toolbar = cl_grid->mc_fc_find. "Button FIND
append wa_toolbar to it_toolbar1.
ENDFORM.
CLASS lcl_event_receiver IMPLEMENTATION.
*handle tool bar methods..
METHOD handle_toolbar.
*variables for the toolbar
DATA lt_toolbar TYPE ttb_button.
DATA ls_mttoolbar TYPE LINE OF ttb_button.
User command toolbar buttons..
ls_mttoolbar-function = 'add_row'.
ls_mttoolbar-icon = '@17@'.
ls_mttoolbar-quickinfo = 'Add a new row'.
ls_mttoolbar-text = 'Add node'.
ls_mttoolbar-butn_type = '0'.
APPEND ls_mttoolbar TO lt_toolbar.
e_object->mt_toolbar = lt_toolbar.
ls_mttoolbar-function = 'del_row'.
ls_mttoolbar-icon = '@18@'.
ls_mttoolbar-quickinfo = 'Delete a row'.
ls_mttoolbar-text = 'Delete node'.
ls_mttoolbar-butn_type = '5'.
APPEND ls_mttoolbar TO lt_toolbar.
e_object->mt_toolbar = lt_toolbar.
ls_mttoolbar-function = 'save_data'.
ls_mttoolbar-icon = '@2L@'.
ls_mttoolbar-quickinfo = 'Save the current data'.
ls_mttoolbar-text = 'save data'.
ls_mttoolbar-butn_type = '5'.
APPEND ls_mttoolbar TO lt_toolbar.
e_object->mt_toolbar = lt_toolbar.
ENDMETHOD. "handle_toolbar
REGARDS
VASU

Similar Messages

  • When I open firefox my screen fills up and I don't have the top part with the tool bar or tabs. How do I fix this. It does not do this with explorer

    When I open firefox the whole screen fills with the firefox page but no tabs or toolbar at the top of the screen. It does not do this if I use Internet Explorer. I can google say, my email of facebook and I can get there but there is no way to get out of this page, no "red" X to close the sight.

    "F11" toggles Full Screen mode on/off
    see
    * Firefox and other Browser Keyboard Shortcuts (Comparison Table)<br>http://www.mvps.org/dmcritchie/firefox/keyboard.htm
    Not to be confused with Maximize/Restore button in upper right corner which leaves your toolbars intact.
    Just noticed your mention of missing the red "X" (red background), are you also missing the vertical scrollbar on the right side.
    * Resizing oversize window - MozillaZine Knowledge Base<br>http://kb.mozillazine.org/Resizing_oversize_window
    If you are referring to not being able to close a tab, you will not see the "X" on a tab if it is the last tab, in fact you may not even see the tab bar, that depends on your options and on configuration options for how the close tab is to appear.
    Check your '''[http://kb.mozillazine.org/About:config_entries about:config]''' options
    :The following options are found within these two articles
    * About:config entries - MozillaZine Knowledge Base<br>http://kb.mozillazine.org/About:config_entries
    * Tabs configuration, extracted from About:config entries - MozillaZine Knowledge Base<br>http://dmcritchie.mvps.org/firefox/tabs_config.htm
    '''browser.abs.autoHide''' Boolean
    :Behavior for the tab bar when only one tab exists
    :True (default): Hide the tab bar
    :False: Always show the tab bar
    :Note: In Firefox, this can be changed via "Tools → Options → Tabs → Always show the tab bar (Firefox 2 and above) or Tools → Options → Tabs → Hide the tab bar when only one web site is open (Firefox 1.5).
    '''browser.tabs.closeButtons''' Integer (Firefox 2.0)
    :This preference controls how close buttons can be displayed on tabs.
    :0: Display a close button on the active tab only
    :1: (default) Display a close button on each tab
    :2: Don't display any close buttons
    :3: Display a single close button at the end of the tab bar (Firefox 1.x behavior)
    <br><small>Please mark "Solved" one answer that will best help others with a similar problem -- hope this was it. But please also leave a comment because of the several possibilities and we would like to know which problem you actually experienced. </small>

  • After downloading the latest version of Firefox I am unable to display more than one website at a time in the tool bar at the top of my screen.

    Before I upgrades to your latest version I was able to display many websites at the same time in the tool bar at the top of my screen. Now I can only display one at a time and it is extremely annoying.

    Hello,
    Certain Firefox problems can be solved by performing a ''Clean reinstall''. This means you remove Firefox program files and then reinstall Firefox. Please follow these steps:
    '''Note:''' You might want to print these steps or view them in another browser.
    #Download the latest Desktop version of Firefox from http://www.mozilla.org and save the setup file to your computer.
    #After the download finishes, close all Firefox windows (click Exit from the Firefox or File menu).
    #Delete the Firefox installation folder, which is located in one of these locations, by default:
    #*'''Windows:'''
    #**C:\Program Files\Mozilla Firefox
    #**C:\Program Files (x86)\Mozilla Firefox
    #*'''Mac:''' Delete Firefox from the Applications folder.
    #*'''Linux:''' If you installed Firefox with the distro-based package manager, you should use the same way to uninstall it - see [[Installing Firefox on Linux]]. If you downloaded and installed the binary package from the [http://www.mozilla.org/firefox#desktop Firefox download page], simply remove the folder ''firefox'' in your home directory.
    #Now, go ahead and reinstall Firefox:
    ##Double-click the downloaded installation file and go through the steps of the installation wizard.
    ##Once the wizard is finished, choose to directly open Firefox after clicking the Finish button.
    More information about reinstalling Firefox can be found [https://support.mozilla.org/en-US/kb/troubleshoot-and-diagnose-firefox-problems?esab=a&s=troubleshooting&r=3&as=s#w_5-reinstall-firefox here].
    <b>WARNING:</b> Do not run Firefox's uninstaller or use a third party remover as part of this process, because that could permanently delete your Firefox data, including but not limited to, extensions, cache, cookies, bookmarks, personal settings and saved passwords. <u>These cannot be recovered unless they have been backed up to an external device!</u>
    Please report back to see if this helped you!
    Thank you.

  • Speed dial only has one icon, to open up the windows. Another used to be on the other end of the tool bar for entering websites into the windows. Also do not know how to form another group.

    I have just downloaded Firefox into a new computer. The firefox I had in my old computer had one (9 pt) icon at one end that brought up the speed 9 speed dial windows. It also had another similar icon at the other end of the tool bar that you could click on and place a website you were looking at into a particular window. This add on does not have that feature, which makes it very hard to make entries into the windows.
    Also I have not found the way to add other groups of windows as I had before. I could even label them in categories. What to do?
    My Computer is an HP p6653w and my default browser is Firefox 3.6
    My operating system is windows 7.

    Hi,http://h10025.www1.hp.com/ewfrf/wc/document?docname=c03149924&cc=uk&dlc=en&lc=en#N89
    First, I am sorry to see your experience, however be aware that this forum is a peer-to-peer community and not a direct contact with HP.
    To clarify, the product specification do list the ink cartridges regionalization, the specifications itself reffer to HP Suresupply to locate the ink cartridges for your region, as well as the following document which clearly state that information:
    http://h10025.www1.hp.com/ewfrf/wc/document?docname=c03239171&tmp_task=prodinfoCategory&cc=uk&dlc=en...
    Firs be sure to have the latest software installed prior contacting HP support, which should be listed as 28
    You may find that information listed in the following document (Check the How can I tell which driver version I have? section), if you have any older version be sure to uninstall it and install the latest software, as listed within the same document:
    http://h10025.www1.hp.com/ewfrf/wc/document?docname=c03149924&cc=uk&dlc=en&lc=en#N89
    If you need, the latest software can be found below:
    http://h10025.www1.hp.com/ewfrf/wc/softwareDownloadIndex?softwareitem=mp-108821-3&cc=uk&dlc=en&lc=en...
    Next ensure you have any of the 564 ink cartridges, once the printer being reset it require all the 4 ink cartridges to work
    Finally check the private messages I sent you prior contacting HP support , the envelope icon at the top-right part of that screen.
    The ensure you use the correct contact details lease double chekc it below:
    http://www8.hp.com/us/en/contact-hp/phone-assist.html#section1
    Regards,
    Shlomi
    Say thanks by clicking the Kudos thumb up in the post.
    If my post resolve your problem please mark it as an Accepted Solution

  • 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 do I make the tool bar displays look like Firefox 3.6?

    I have gotten used to the order of the tool bars and would like to make them look like the previous version of Firefox (3.6). Is there a way to move them up or down in FF 4.0?

    #<u>If you are not seeing the Menu Bar (File, Edit, View History, Bookmarks, Tools, Help)</u> hold down the ALT key while pressing the three keyboard letters VTM.
    #*<u>To turn off the Menu bar at any time and use the Firefox button</u> (click on it to drop down the new Menu), click View > Toolbars, click on Menu Bar to remove the check mark. You can always turn it on again using the ALT+V+T+M in step 1 above.
    #<u>To move the tabs below toolbars</u>, click View > Toolbars, click "Tabs on top" to un-check it. '''''NOTE: Instead of View > Toolbars, you can click in any blank space on any toolbar to open the dialog.'''''
    #<u>To display other toolbars not being displayed</u>, repeat this process View > Toolbars and click on items that do not have a check mark; that will place a check mark next to those items and cause them to be displayed.
    #<u>To move items around on the toolbars</u>, you can drag them to the desired location when the Customize Toolbar window is open: View > Toolbars > Customize.
    #'''<u>The Reload/Refresh button and the Stop button have been "unified/combined" on the right end of the URL/Location/Address bar</u>''' (where you type a site address).
    #*When the Customize Toolbar window is open (View > Toolbars > Customize), the two separate buttons are shown between the URL/Location/Address bar and the Search bar. You can drag those 2 buttons wherever you want them but the order is important when the two are adjacent to one another (side-by-side) :
    #**Refresh/Reload on the left and Stop on the right, the buttons will be "unified/combined"
    #**Stop on the left and Reload/Refresh on the right, the buttons will be separated
    #**If left between the URL/Location/Address bar and the Search bar:
    #***Refresh/Reload on the left and Stop on the right, the buttons will be "unified/combined" as part of the URL/Location/Address bar on the right end of it
    #***Stop on the left and Refresh/Reload on the right, the buttons will be individually shown outside and to the right of the URL/Location/Address bar
    See:
    *https://support.mozilla.com/en-US/kb/how-do-i-customize-toolbars
    *http://support.mozilla.com/en-US/kb/Back+and+forward+or+other+toolbar+buttons+are+missing

  • I can't move my application to navigate the tool bar. It is stuck under the Apple bar.

    I can't move my application to navigate the tool bar. It is stuck under the Apple bar. I have a screen shot of it if I can figure out how to upload it. I can navigate and move all other applications, I have restarted computer, updated Adobe. any advice.

    In that application what options are available to you under the Window menu item? Maybe something there that'll help?

  • All of a sudden I can no longer open tabs by clicking "+" or right clicking on the tool bar. To open a new page, I have to open a whole newFirefox window. How can I fix this?

    All of a sudden I can no longer open tabs by clicking "+" or right clicking on the tool bar. To open a new page, I have to open a whole new Firefox window. How can I fix this?
    Also, Firefox crashes frequently. Is there a fix for this also?

    Uninstall the Ask toolbar and it should work again. There is a compatibility issue with the Ask toolbar and Firefox 3.6 that prevents new tabs from being opened.
    There are a couple of places to check for the Ask toolbar:
    * Check the Windows Control panel for the Ask Toolbar - http://about.ask.com/apn/toolbar/docs/default/faq/en/ff/index.html#na4
    * Also check your list of extensions, you may be able to uninstall it from there - https://support.mozilla.com/kb/Uninstalling+add-ons
    For the second issue, the [[Firefox crashes]] support article may help.

  • When I open 2 or more browsers of Firefox, click to open and close email it pops up the First Firefox browser since I have verrsion 6 as of yesterday. And some times the tool bar dosen't appear or have to refresh it.

    Question
    When I open 2 or more browsers of Firefox, click to open and close email it pops up the First Firefox browser since I have verrsion 6 as of yesterday. And some times the tool bar dosen't appear or have to refresh it.

    Question
    When I open 2 or more browsers of Firefox, click to open and close email it pops up the First Firefox browser since I have verrsion 6 as of yesterday. And some times the tool bar dosen't appear or have to refresh it.

  • I have a Macbook Pro (2009) and the tool bar in Safari keeps disappearing. There's a small diagonal arrow on the upper right that I can click and the bar will appear temporarily, but then it disappears from view. "Hide Toolbar" is greyed out in VIEW

    My 2009 Macbook Pro's Safari doesn't show the tool bar anymore.  I can click on a diagonal arrow in the upper right corner that appears when I put my cursor there and the tool bar will show, but then it disappears again.  Also, when I get an email and click on an internet link the Safari doesn't open full page like it used to - it opens as a small little box and I have to click the diagonal arrow in upper right corner for it to open full screen.  Any ideas how to correct this - it is so annoying.  Thanks for any help!

    The "restore disk" is built into the Mac. See About Recovery.
    Need more specifics about what error messages you got while installing Adobe Flash.
    However, you can almost avoid Flash altogether by setting YouTube to play the HTML5 version instead.
    Click the Try something new! link at the bottom of the YouTube page.
    I don't know about the sound issue. Might be hardware as you think. Try other headphones to check.

  • How do I add a print button to the tool bar?

    When I open the menu there is not a "print" button to add to the tool bar. Even under customize there is not a "print" button. How do I print from mozilla?

    The Print button in the "3-bar" Firefox menu button drop-down list opens the Print Preview window.
    You can click the Print button in the Print Preview window or use the Print item in the File menu (File > Print) or use the Ctrl+P shortcut to have access to the print selection item and other print setup options.
    You can look at this extension:
    *Universal Print: https://addons.mozilla.org/firefox/addon/universal-print/
    There are other things that need attention.
    Your System Details list shows that you have a user.js file in the profile folder to initialize prefs each time Firefox starts.
    The user.js file is only present if you or other software has created this file and normally it wouldn't be there.
    You can check its content with a plain text editor (right-click: "Open with"; do not double-click).
    The user.js file is read each time Firefox is started and initializes preferences to the value specified in this file, so preferences set via user.js can only be changed temporarily for the current session.
    You can delete the user.js file if you didn't create this file yourself.
    *http://kb.mozillazine.org/Preferences_not_saved

  • I need to pin the comment options in the tool bar. Please Adobe team put that option.

    I need to pin the comments options in the tool bar.  Please Adobe team put that option.
    https://www.pinterest.com/pin/create/extension/

    Thank you!!

  • How do I enlarge the font in messages received and sent?  I have it set at "13", but it is very, very small on my screen.  I can't seem to change the appearance of the tool bar even when I try to "customize".

    How do I enlarge the font in messages received and sent?  I have the font set at "13", but the appearance on my screen is very, very small.  When I try to "customize the toolbar" to look like the tool bar above this message, I am unable to do so.  Please advise.  Thank you.

    Thanks MartinR, yes the Toggle bars can be adjusted so that I can see all the tracks - just in the smallest setting - however this also creates a huge area of grey which serves no other purpose than to "use up screen space". If this is deliberate then there is nothing one can do - since presumably the additional profit made on screen sales is more important to Apple, than the combined annoyance to those working on a 13" laptop. Of course a 15" screen or even 17" screen may make this wastage less obvious. Please indicate that this is all incorrect and explain why it is important to have space waiting "for additional tracks", even if I have no intention of making additional tracks. If that is the answer then perhaps additional space to the left and right of the timeline would be useful in case I wish to make a 30 minute film, so that it could be placed there without having to drag anything. It may be that I am expecting software than can be tailor adjusted, each parameter to the desired level as in professional items and since this is a cheap consumer program it is not possible.
    I bought Final Cut Pro for a lot of money (when it first appeared it was thousands and not just hundreds) but never used it since it was too complicated and tedious, but maybe there, this problem of screen wastage does not occurr, perhaps someone can advise! I could go back and reinstall it, but it was made for 10.2.8 and not 10.6.8 so it would not run on this macbook. I recently bought an old 15" TitaniumPowerbook (from 2005) and despite running at 1MHz the response time on it is "instantaneous" - amazing to not have the almost half second delay on many commands - graphics appear nearly immediately (just 5 milliseconds delay) and this makes working so much more enjoyable, not having the (350ms) stutter of 10.6.8 which we all get used to after our initial disappointment.
    Thanks for your help!

  • I accidently unmarked the book marks tool bar, the tool bar and the menu bar how do i get them back ?becaus now only the tabs are visible and i cant access my features or book marks

    i was getting to know my firefox so i accidentally unmarked the menu bar the book marks tool bar and the tool bar. so now only my tabs are visible and i cant get to any of my add-ons or extensions.
    and even surfing the net has become difficult cause there is almost nothing i can do with a new empty tab.
    how can i get these bars back. i tried taking the cursor up to the thin line above the tabs and the window border but the menu to mark the above mentioned features does not appear any more.
    i tried restarting firefox several times but it didn't work. i even uninstalled and completely downloaded a new version of firefox and installed it but the problem still persists.
    i am operations system is windows XP.

    Firefox 3.6+ versions have a feature to allow the user to hide the Menu bar.
    Hit the '''Alt''' key to temporarily show the Menu bar, then open View > Toolbars and select Menu bar, so it has a check-mark. <br />
    The F10 can also be used on most PC's to temporarily reveal the Menu bar.
    https://support.mozilla.com/en-US/kb/Menu+bar+is+missing

  • Allt he links in the header of any websites are not working, I reinstalled fiorefix and it s the same. No problem in others browser. the tool bar is working but not the link sinside the web page located between the top 300px height

    all the links in the header of any websites are not working, the cursor is not changing into pointer and no way to click on any link located at the top of any website page. I reinstalled firefox and it s the same. No problem in others browser. the tool bar is working but not the links inside any web page located between the top 300px height.
    So I can t tlog into any website, i cant write an email as the compose button is located in the top of the page.. Please help, i have all my bookmarks into my firefox...

    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.com/kb/Safe+Mode
    *https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes

Maybe you are looking for

  • A problem with copying text from english pdf to a word file

    i have a problem with copying text from english pdf to a word file. the english text of pdf turns to be unknown signs when i copy them to word file . i illustrated what i mean in the picture i attached . note that i have adobe acrobat reader 9 . so p

  • My email is crashing every time I open it. Any idea how to fix this?

    1 day ago my iPhone started crashing every time I opened my email. I've tried deleting suspicious emails (quickly before it crashes) but that didn't work. I went out to the web server and deleted the same emails and that didn't fix it either. I've re

  • CS3:  Export PDF crash...located the source, now what?

    InDesign CS3 keeps crashing on page 86 or 87 of a file I'm trying to Export to PDF.  I know this from watching the progress bar move across the screen, everything is fine until the status box shows page 86/87, then poof, InDesign disappears and reque

  • Urgent : Change in displayed column name of the Metadata

    Hi friends, I am required to dispaly a field called "Ansprechpartner" in my layout set. As I did not get any corresponding Metadata for it in the ContentManagement, I used the owner field instead. But the Deutche name for it on doing language change

  • How to sort month names in Design studio

    Hi Community,    Is there any way to sort month names in proper order (ie jan,feb,mar......) in design studio!! Please help Thanks Vivek