Can we manipulate the Show Horizontal Scroll Bar property during runtime?

Hi
i have set the Show Horizontal Scroll bar to true in the property palette during design time but i want to set to false during run-time based on certain conditions.
it is possible to set the Show Horizontal Scroll Bar property of the forms window to true or false during runtime?
if yes, how do you do it?
any help is appreciated. thx.
Siti

Hi there
thank you for the reply.
so is resizing of canvas using set_canvas_property('CANVAS6',WIDTH,690)
possible during run-time based on certain conditions? thx.
Siti

Similar Messages

  • How can i change the window scroll bar property at runtime...???

    hi all ,
    can i change the Window's (Forms window) "Show horizontal scroll bar property" at runtime, i mean programatically... Is there any property which i can set....??
    Thanx in advance
    Regard's
    Prasad

    There is no property there for your required task.
    Hassan

  • Reports doesn't shows horizontal scroll bar after EHP5

    Hi All,
    After EHP5 SP level, under menu MSS -> My Staff -> Reporting, any reports doesn't shows horizontal scroll bar, to view last colums. I tried with Authroziation SAP ALL but still issue persists.
    Thanks,
    Cheers!!!
    Sara

    can you chekc note 1531182
    1. Open SAP Note 19466 - "Downloading SAP kernel patches"
    2. Follow the instructions on the a above note and implement the Kernel
    patches contained on SAP Note 1531182 -  "Number of fixed columns is
    incorrect"

  • JList in JScrollPane never shows horizontal scroll bar

    I have a JList inside a JScrollPane. When I add a lot of cells to the list, the vertical scroll bar appears as expected. However, if I add a cell that would require lots of horizontal space in which to render, the horizontal scroll bar never appears.
    Is there a way to make the JList take on the width of the widest rendered cell?
    Josh

    Here's some code that will demonstrate the problem. Run the code, then resize the window so that the horizontal scroll bar should appear.
    Code for jds.toys.Main:
    package jds.toys;
    import javax.swing.DefaultListModel;
    import javax.swing.JFrame;
    import javax.swing.JList;
    import javax.swing.JScrollPane;
    import javax.swing.SwingUtilities;
    public class Main extends JFrame {
         protected DefaultListModel model;
         public Main()
              super("JList in JScrollPane");
              model = new DefaultListModel();
              model.addElement("A very very very very very very long String");
              model.addElement("A very very very very very very very long String");
              model.addElement("A very very very very very very very very long String");
              model.addElement("A very very very very very very very very very long String");
              model.addElement("A very very very very very very very very very very long String");
              model.addElement("A very very very very very very very very very very very long String");
                      JList list = new JList(model);
                      list.setSize(300,300);
                      list.setFixedCellHeight(30);
                      list.setCellRenderer(new MyCellRenderer());
                      JScrollPane scrollPane = new JScrollPane(list);
                      add(scrollPane);
                      setSize(400,400);
        public static void main(String[] args) throws InterruptedException {
             final Main m = new Main();
            SwingUtilities.invokeLater(new Runnable() {
                public void run() {
                     m.setVisible(true);
    Code for jds.toys.MyCellRenderer:
    package jds.toys;
    import java.awt.Component;
    import java.awt.Graphics;
    import javax.swing.JList;
    import javax.swing.JPanel;
    import javax.swing.ListCellRenderer;
    public class MyCellRenderer extends JPanel implements ListCellRenderer
         private Object currentValue;
         private JList currentList;
         public MyCellRenderer()
         public Component getListCellRendererComponent(     JList list,
                                             Object value,
                                       int index,
                                       boolean isSelected,
                                       boolean cellHasFocus)
              currentValue = value;
              currentList = list;
              return this;
         public void paintComponent(Graphics g)
              int stringLen = g.getFontMetrics().stringWidth(currentValue.toString());
              int ht = currentList.getFixedCellHeight();
              g.setColor(getBackground());
              g.fillRect(0,0,stringLen,ht);
              g.setColor(getForeground());
              g.drawString(currentValue.toString(),0,ht/2);
    }

  • Showing Horizontal scroll bar in JTabel

    I am creating a table as follows:
    private ResultSetTableModel tableModel;
    // create TableModel for results of query
    tableModel = new ResultSetTableModel( JDBC_DRIVER, DATABASE_URL, USERNAME, PASSWORD, DEFAULT_QUERY );
    // create JTable delegate for tableModel
    JTable resultTable = new JTable( tableModel );
    sp = new JScrollPane( resultTable);
    where
    ResultSetTable Model is a class which extends AbstractTableModel
    When dispalying the table I can only see the vertical scroll, How can the horizontal scroll be shown??
    Thanks.

    http://forum.java.sun.com/thread.jspa?forumID=57&threadID=623692

  • How can i remove a unwanted horizontal scroll bar on IE?

    I have an expanding search bar in my navigation, however only on IE the horizontal scroll appears which allows you to move it off the screen. Which obviously i don't want. It there any way to stop this?
    Here is my HTML and CSS;
    <div id="logocontainer">
    <div id="secondary-bar" class="clearfix">
                <form id="search" action="#" method="post">
                  <div id="label"><label for="search-terms" id="search-label">search</label></div>
                    <div id="input"><input type="text" name="search-terms" id="search-terms" placeholder=""></div>
                </form>
    <nav>
                    <ul>
                       <li><a href="#">[email protected]</a></li>
                        <li><a href="#">(0191)2521348</a></li>
                    <div class="box"><a href="https://twitter.com">twitter</a></div>
                      <div class="box2"><a href="http://instagram.com">instagram</a></div>
                    </ul>
                </nav>
    </div>
    #secondary-bar {
        position: relative;
        height: 40px;
        padding-left: 60px;
      margin-top: 3%;
      min-width: 320px;
    @media all and (max-width: 1000px) {
    #secondary-bar {
      margin-left: auto;
      margin-right: auto;}
    #search {
        position: relative;
        float: right;
        width: 40px;
        height: 40px;
        margin-left: -40px;
    #label {
        width: 40px;
        height: 40px;
        position: relative;
        z-index: 20;
    #label label {
        display: block;
        width: 40px;
        height: 40px;
        background:url("../Graphics/search.png") 0 0;
        font-size: 0;
        color: rgba(0, 0, 0, 0);
        text-indent: 9999px;
        cursor: pointer;
    #label label:hover {
        background:url("../Graphics/search.png") -40px 0
    #label.active label {
        background:url("../Graphics/search.png") -40px 0
    #input {
        position: absolute;
        top: 0;
        right: 45px;
        width: 410px;
        height: 40px;
        z-index: 5;
        overflow: hidden;
    #input input {
        display: block;
        position:relative;
        top: 0;
        left: -410px;
        width: 410px;
        height: 100%;
        margin: 0;
        padding: 0 10px;
        border:solid;
      border-width:thin;
      border-color:#706E6E;
        background-image:url(../Graphics/black-linen.png);
        color: #898888;
        font-size: 12px;
        -ms-backface-visibility: none;
      -webkit-backface-visibility: none;
        -moz-backface-visibility: none;
        backface-visibility: none;
        -webkit-border-radius: 0;
        -moz-border-radius: 0;
        border-radius: 0;
        -ms-transition: left 0;
      -webkit-transition: left 0;
        -moz-transition: left 0;
        -o-transition: left 0;
        transition: left 0;
      overflow: hidden;
    #input input:focus {
        outline: none
    #input.focus {
        z-index: 20
    #input.focus input {
        left: 0;
        -webkit-transition: left 0.3s;
        -moz-transition: left 0.3s;
        -ms-transition: left 0.3s;
        -o-transition: left 0.3s;
        transition: right 0.3s;
    nav{
        width: 96%;
        float: left;
        position: relative;
        z-index: 10;
    nav ul {
        list-style-type: none;
        margin: 0;
        padding: 0;
    nav li {
        display: inline-block;
        height: 40px;
        line-height: 40px;
        font-size: .9rem;
      float: right;
      margin-top: .5%;
      font-weight:100;
    nav a {
        display: block;
        padding: 0 15px;
        color: #787878;
    nav a:hover {
        color: #FFF;

    That results in the search bar being visible before clicking to expand it, like this
    and it moves to its correct position when clicking on magnifying class.

  • TreeTable not showing horizontal scroll bar on Chrome

         Hi experts,
    I'm coding a treeTable and it Works just fine on Internet explorer,
    I'm creating a SDK component for Design Studio and the version of SAPUI5 it carries is 1.12.7
    I can't use a newer version, is there any way to fix this?
    Best Leandro

    if (!!sap.ui.Device.browser.webkit
      && !document.width) {
      jQuery.sap.require("sap.ui.core.ScrollBar");
      var fnOrg = sap.ui.core.ScrollBar.prototype.onAfterRendering;
      sap.ui.core.ScrollBar.prototype.onAfterRendering = function() {
      document.width = window.outerWidth;
      fnOrg.apply(this, arguments);
      document.width = undefined;
    This code solved the problem. Thanks

  • How do I view the Horizontal Scrolling bar and status bar at the bottom of the screen. I can only see the top menus, toolbars and vertical scroll bar?

    Before the most recent upgrade, the bottom horizontal scrolling bar and status bar appeared on my screen. Now since upgrading, I cannot see the. Anyone ideas how to restore them?

    If you haven't already, you could force-quit Quicktime by using the menu option from the desktop (finder) and choose Quicktime.
    Not sure what you have frozen on the screen, be it a failed movie, or some unusual screen shot. If you can find by date (created) you may be able to look for .mov or quicktime suffix name or other video file content to delete it.
    And you may have to restart your computer and perhaps run repair disk permissions from Disk Utility's first aid on the hard disk drive in your computer.
    Not sure if all that would help now, but it is something a few days late...!
    Good luck & happy computing!

  • Horizontal scroll bar for the adf page

    Hi,
    We have around 7 tables in single jsff page. Here , we have a requirement like :
    We need to show horizontal scroll bar for the entire page instead of each table. Is there any way to get this.
    As of now, we have horizontal scroll bar for each table, but our customer is not accepting this, that want the scroll bar for the entire page.
    Please suggest the approach.
    Thanks

    I have grouped all the tables in panelgrouplayout.So, what is the problem (because it is not quite clear what you need)?
    If your PanelGroupLayout is with layout="horizontal", then the tables will be rendered next to each other horizontally but there will be no horizontal scrollbar on the page.
    If your PanelGroupLayout is with layout="scroll", then the tables will be next to each other vertically and there will be a horizontal and a vertical scrollbar on the page (if necessary).
    If you need your tables to be relocated next to each other horizontally and to have a horizontal scrollbar on the page, then use a PanelGroupLayouts(horizontal) inside a PanelGroupLayout(scroll):
    <af:panelGroupLayout layout="scroll">
      <af:panelGroupLayout layout="horizontal">
        <af:table> ... </af:table>
        <af:table> ... </af:table>
        <af:table> ... </af:table>
      </af:panelGroupLayout>
    </af:panelGroupLayout>If your problem is that you still have horizontal scrollbars inside the tables, then you should set appropriate widths to the corresponding tables (e.g. to <af:table> tags) such that they are large enough to fit the sum of corresponding column widths.
    ya, I know that its not god design, but its customer requirement, so we need to do that.If you expect some table(s) to be stretched automatically according to the size of browser's window, then you should re-think your UI design because PanelGroupLayouts do not stretch their children. A possible solution is to use a combination of PanelSplitters or other layout containers that stretch their children.
    Dimitar

  • Horizontal scroll bar not appeating in af:treeTable

    We have an af:treeTable component in a popup with two af:column.
    Issue:
    1. af:treeTable is not showing horizontal scroll bar. When i set the width to a fixed value say 1000 on af:column c171, it shows scroll bar but the size is fixed.
    This is not the solution, because if the length of #{node.TerrDimMemberHierarchy} exceeds this size again some portion of it becomes invisible.
    Question:
    1. How can i make horizontal scroll bar appear in tree table. And also it should grow or shrink depending upon the length of #{node.TerrDimMemberHierarchy}
    data.
    <af:treeTable rowBandingInterval="0" id="tt2"
    fetchSize="25"
    inlineStyle="width:38em; height:28em; border-width:1px; border-style:groove;"
    partialTriggers="::dimensionDropDown ::searchButton ::cb5"
    rowSelection="multiple"
    value="#{backingBeanScope.ManageTerritoriesBean.dimensionMemberSearchTreeTableTreeModel}"
    var="node"
    visible="#{pageFlowScope.searchString != null ? (pageFlowScope.viewInHierarchyBtnLbl == null ? true : false) : false}"
    columnStretching="column:c171"
    binding="#{backingBeanScope.ManageTerritoriesBean.dimensionMemberSearchTreeTable}"
    summary="#{salesterrmgmtterritoriesuiGenBundle['OLabel.AvailableDimensionMembers']}"
    immediate="true"
    selectionListener="#{backingBeanScope.ManageTerritoriesBean.dimensionMemberSearchTreeListener}"
    styleClass="AFStretchWidth">
    <f:facet name="nodeStamp">
    <af:column sortable="false" id="c14"
    rowHeader="unstyled"
    headerText="#{salesterrmgmtterritoriesuiAttrBundle['ColAttr.Name.DimensionName.MOTTERRDIMENSIONSVL.NAME']}">
    <af:outputText value="#{node.Name}" id="ot15"/>
    </af:column>
    </f:facet>
    <af:column sortable="false" id="c171"
    headerText="#{dlBndl.PATH}"
    styleClass="AFStretchWidth">
    <af:outputText value="#{node.TerrDimMemberHierarchy}"
    id="ot16"/>
    </af:column>
    </af:treeTable>
    Edited by: sekare on Aug 29, 2011 4:01 AM

    can u remove the styleClass="AFStretchWidth" for af:column
    AFStretchWidth is for table or treetable to stretch.. not for columns
    <af:column sortable="false" id="c171"
    headerText="#{dlBndl.PATH}"
    styleClass="AFStretchWidth">

  • TableView and horizontal scroll bar

    Hi
    I need to show horizontal scroll bar in my TableView - there are many columns in my view. I tried to put it into the ScrollPane but it takes no any effect.. Is there any ability to make scrollable treeview via FXML layout file?
    My code is
    <ScrollPane fitToHeight="true" fitToWidth="true" hbarPolicy="ALWAYS" VBox.vgrow="ALWAYS">
    <content>
    <TableView fx:id="resultsTbl">
    <columns>
    <TableColumn text="col 1" prefWidth="60" />
    <TableColumn text="col 2" prefWidth="60" />
    <TableColumn text="col 3" prefWidth="130" />
    ........cut....
    </columns>
    <items>
    </items>
    </TableView>
    </content>
    </ScrollPane>
    Thanks
    Edited by: 918392 on 02.03.2012 4:51

    OK. If I understand you correctly, you want the table view to fill the scroll pane width when the total column width is less than the scroll pane width, but show a scroll bar when the total column width is greater than the scroll pane width. Is that right? If so, I don't believe that is currently supported. I think there is a feature request for it, but JIRA is down right now so I can't tell for sure.
    Feel free to submit a feature request for this if you like, and we'll mark it as a duplicate if necessary.

  • Horizontal Scroll Bar

    I have this site that I'm practicing on called
    Massattack Studios,
    it's been a work in progress for a while experimenting with Flash
    and Dreamweaver 8.
    In internet explorer my scroll bar situation works fine, in
    Fire Fox the unwanted horizontal scroll bar appears. At least at
    the moment I'm not concerned with other browsers. Can anybody tell
    me how to get rid of that little guy?
    I'm looking at the Validator and it is very overwealming to
    me as a beginner with the code.
    Any help would be great, i can post anything you may need to
    figure it out, thank you very much!
    This is my main index page...
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN"
    http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
    <html xmlns="
    http://www.w3.org/1999/xhtml">
    <head>
    <title>Massattack Studios</title>
    <meta http-equiv="Content-Type" content="text/html;
    charset=iso-8859-1" />
    </head>
    <frameset cols="*,650,*" border="0">
    <frame src="left.htm" name="left" marginwidth="0"
    marginheight="0" scrolling=no>
    <frameset rows="100,*,25" border="0">
    <frame src="head.htm" name="head" marginwidth="0"
    marginheight="0" scrolling=no noresize>
    <frame src="home.htm" name="MainFrame" scrolling="yes"
    noresize="noresize" marginwidth="0" marginheight="0"
    id="MainFrame">
    <frame src="footer.htm" name="footer" marginwidth="0"
    marginheight="0" scrolling=no noresize>
    </frameset>
    <frame src="right.htm" name="right" marginwidth="0"
    marginheight="0" scrolling=no noresize>
    </frameset>
    <noframes><body>
    </body></noframes>
    </html>

    In the home.htm file that loads into your main frame, change
    the DOCTYPE.
    CHANGE:
    !DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN"
    http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd"
    TO THIS:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01
    Transitional//EN">BTW:
    "Bumbing" has no effect in the NNTP forums where most of the
    answers come
    from and it's just annoying to the web form user who are
    patiently waiting
    for a response.

  • Horizontal Scroll bar in a list Box?

    Hi,
    I have a requirement in Adobe Designer where my List Box should also show Horizontal Scroll bar in it.
    Is it possible?
    Thanks.

    Thanks Debadas,
    But i need both (Horizontal & Vertical) the scroll bars and depending on the data length either or both should be visible, without changing the data visiblity or text rotation.
    Regards,

  • Bottom horizontal scroll bar missing.

    My vertical scroll bar is on the right side of my screen, but the bottom horizontal scroll bar has disappeared, can't figure out where it went or how to get it back, any help out there?

    Another thought... Open an application such as Pages or MS Excel that can have an infinitely wide (or nearly so) window. It should always display a bottom scroll bar as the number of columns can exceed the width of the screen. In fact, you can easily make a spreadsheet window wider than your screen by dragging the corner of the window as far as you can to the right, then placing cursor in the blank space at the top of the document and drag the window off the edge of the screen to the left and then dragging the bottom right further to the right again. The result is a window wider than screen and it WILL have a scroll bar at the bottom. Simply reverse the process to get it back to a more manageable size again.

  • How do I get my horizontal scroll bar back?

    Well, I just installed firefox 5 on my computer and for some reason, the bottom horizontal scroll bar you use to move the screen left to right has gone missing. So my question is, how do I get it back?

    I had this problem and it only started after installing firefox v12.0 (on win xp).
    Mozilla mentions it is related to the css 'overflow' attribute not being defined correctly.
    HOWEVER, in my case, the offending line of css belonged to the jquery ui library
    file: jquery-ui-1.7.2.custom.css
    .ui-helper-hidden-accessible { position: absolute; left: -99999999px; }
    all I needed to do was remove one of the '9's and the horizontal scroll bar reappeared on all pages that included this jquery ui lib.
    the better solution would be to upgrade to the latest jquery ui lib.

Maybe you are looking for

  • Profit center line items are not displaying in KE5Z

    HI Eperts, we are executing tcode KE5Z. System is not displaying any line items. because we have missed out in configuration updation of line items and on line transfer check boxes activation in 1KEF. please advise how we have to retreive whole data

  • Can't access the music on my iPod, iTunes freezes up

    Hello out there, I have a problem with my fifth generation 30 GB iPod video. It has worked like a dream until yesterday. I plugged my iPod into my computer (HP laptop running Windows Vista) and it showed up in iTunes as usual. I dragged three albums

  • User in blackberry manager more than once

    I have a user that has two blackberries and would like to receive email to both of these from the same email account,  Can I do this? will blackberry manager let me have the same user twice? Thanks for the responses

  • Does Time Machine require add'l backup space?

    I have two 2TB external hard drives which are pretty much full. I want to partition a 4TB drive into two 2TB sectors and backup my two drives. I don't need additional "archived" backups, those previous changes that Time Machine stores when additional

  • How do I keep an incorrect username from coming up with a click on the box?

    I typed in an incorrect username. Now, when I click on the username box to bring up my username, it shows the incorrect name as a choice, but I don't want that to show. Is there some way to delete that name?