Can i add a horizontal scrollbar?

Hi,
I have a datablock , Employees , having the fields
SQL> desc employees
Name                            Null?    Type
EMPLOYEE_ID                     NOT NULL NUMBER(6)
FIRST_NAME                               VARCHAR2(20)
LAST_NAME                       NOT NULL VARCHAR2(25)
EMAIL                           NOT NULL VARCHAR2(25)
PHONE_NUMBER                             VARCHAR2(20)
HIRE_DATE                       NOT NULL DATE
JOB_ID                          NOT NULL VARCHAR2(10)
SALARY                                   NUMBER(8,2)
COMMISSION_PCT                           NUMBER(2,2)
MANAGER_ID                               NUMBER(6)
DEPARTMENT_ID                            NUMBER(4)I created a layout, using layout editor to display all the fields in tabular format. I could create a vertical scrollbar.
but I also want a horizontal scrollbar.
How can i create one?
Thanks
Edited by: user12984479 on Apr 17, 2010 1:26 AM
Edited by: user12984479 on Apr 17, 2010 1:27 AM

After creating the contant and stacked canvas as you said.
a). Just open the department (contant) canvas and select from the menu View>Stacked Views.... It will show you that employee (stacked) canvas just choose that canvas and press ok. It will be on your main department canvas. Then adjust that canvas by keyboard/mouse upon your requirement where you want to place.
b). And for the tab key as you said. For this you will have to create one trigger called KEY-NEXT-ITEM. This trigger you will create from where you want to go to the employee canvas. Let say you want that after department name cursor should go to the employee canvan's any field. Then create trigger on department name field called KEY-NEXT-ITEM and in this trigger just write like this...
GO_ITEM('<EMPLOYEE_BLOCK.FIELD_NAME>');  -- Change the name upon your block and field name in formHope this will work.
-Ammad
Edited by: Ammad Ahmed on Apr 18, 2010 8:22 AM

Similar Messages

  • How can I create a horizontal scrollbar with a centered thumb that scrolls content from both sides?

    I am having trouble figuring out how to create a horizontal scrollbar component either by itself or nested inside a data list component that will have it's thumb centered in the track when running and reveal content from either the right or left side when the thumb is moved. The furthest I have managed to get is to create a data list component with a scrollbar component inside that has a centered thumb that reveals content from the right side of the list (0 through 10 of the items) but only reveals blank area when tracking the other way. Is there a way to create say… negative items in the data list… 0 through -10? Or am I approaching this the wrong way. Please help. Thanks.

    Mykola,
    Thanks. I guess I was hoping for an answer that addressed my question from a designer's point of view rather than a developers'. As a designer with over ten years experience using Adobe products for print work it is difficult to understand why "centered" is such a complicated concept when designing art for use on the web. It is so frustrating to realize that most containers for images and text can only be resized by pushing and pulling handles located on the right and bottom; Catalyst seems like a great start but if Adobe really wanted to impress the "design" community it might consider putting all that supercharged code underneath the hood of some more familiar "design" tools. Maybe a "catalytic converter" would allow the introduction of a "centered" tool for every element.
    After all, why is it literally twenty-five times more difficult, requiring the use of three additional programs to create a component that functions exactly like a typical data list and scroll bar with the exception that the thumb is "centered" on the track and reveals images from both the right and left. For that matter why not also have as an option a thumb that snaps to the bottom of the track and reveals images from the top… and one that snaps to the right and reveals images from the left when you run the project? It just seems so logical to expand the scroll bar component to include these options.
    I am very glad to have Catalyst and will redesign my project to fit within the constraints of the tools available in the program but it seems that if Adobe is really serious about Catalyst being a window into the world of web design for designers/AD's that perhaps it might benefit by focusing on what might improve the program from the designer's point of view. I hate to say it but the Catalyst forum is already rife with answers to questions that are riddled with code… Literally. And to be honest most designers don't have the time to decipher that code. As a designer I work regularly and have a deep understanding of Photoshop, InDesign, Illustrator, Acrobat Pro, Final Cut Pro, Final Draft and modo. I do hi-res assembly, retouching, design and layout, identity, production, 3D modeling and rendering, video editing… and before I switch to using Catalyst for web mock-ups I am going to need a more "designer" friendly set of tools and definitely a "centered" control.
    I really think Adobe is fantastic. But I also think it could take a lesson from a great little company called Luxology. I tried learning 3D modeling and rendering for years with programs like Lightwave, Maya and others, always with mixed results. Then Luxology came along and actually delivered on their promise to create a 3D program for artists. What was the factor that made all the difference? Well, besides the Apple award winning interface and sets of tools it was the training available on their sight. The program itself ships with thirty-six hours of quicktime movies. And hundreds more hours available for download. I have never yet not been able to quickly and easily find an answer to a question I had about how to accomplish something in modo. You know how long I have already spent on Adobe TV searching through videos and on the Catalyst forum searching through topics trying to get an answer to what I thought was a very simple question? Way too many. If I have a question about a Luxology product that I can't find the answer to do you know what I do? I call Brad Peebler, the President of Luxology. I'm not special nor do I work for some special development house with special privileges that is simply their policy. And that policy has paid big dividends. Both ILM and Pixar has licensed their technology.
    Well… I apologize for this long response but I really think that if Catalyst is going to attract the market it wants that it will have to consider putting some designers on the development team. After all… Isn't that what the promo videos tout… Finally a web design program for designers. Well, I guess we'll see.
    Karl

  • Need horizontal scrollbar for af:selectManyChoice

    Hi,
    I use JDeveloper Studio Edition Version 11.1.1.7.0
    There is a field for which we use af:selectManyChoice ADF component.
    The component is displaying the vertical scrollbar to show all the values automatically.
    And width wise the component is expanded to show values. But, its not expanded to show the value which has maximum value.
    Can we add a property to instruct the component to take the maximum width of the values in the list?
    Or can we add a horizontal scrollbar to the component?
    Attached the screenshot.
    Regards,
    Tamil

    Hi,
    you can try CSS overflow:scroll to get a scrollbar. However, the width might be easier to set using CSS and can also be computed by a managed bean property
    http://www.w3schools.com/cssref/pr_pos_overflow.asp
    Frank

  • Horizontal scrollbar for plot legend

    Hello,
    The plots in my plot legend for a graph can have quite long names so it would be great having a horizontal scrollbar.
    Quote from here
    >>To add a scroll bar to a plot legend, right-click the plot legend and select Visible Items»Horizontal Scrollbar or Visible Items»Vertical Scrollbar from the shortcut menu.
    I can see the entry horizontal scrollbar, but it is always grayed out, what's wrong?
    Thanks a lot for your help!
    Cheers,
    Rico

    I think you are misinterpreting the use of the scrollbar.  If you have a lot of plots on your graph, then you can use the scrollabr to not show all the plots at once and this allows you to scroll through the list.  It does not allow you to make the plot legend smaller to hide long names and scoll across.
    So, if you resize the plot to be horizontal, then you can display the horizontal scrollbar:
    If you resize it vertically, then you can display the vertical scrollbar:
    Message Edited by Matthew Kelton on 05-09-2008 12:09 PM
    Attachments:
    Plot legend horizontal.png ‏2 KB
    Plot legend vertical.png ‏2 KB

  • JTable -  Horizontal Scrollbar - Column Width

    I wish to add a horizontal scrollbar(which for some stupid reason Java has not included) to my JTable which is inside a JScrollPane and also make sure that the width of the fourth column is longer and can fit the String that i wish to display. Now, i have searched the forum for solutions but none of them seem to work. The setting of the column width with the help of TableColumnModel does not seem to work and not to mention the fact that when i turn auto rezise off for the JTable, the JTable does give me a horizontal scrollbar but then it makes the columns so less in width that i have gray area left on the right hand side and the setColumnsToFit method does not work. I have five columns and here is the code, any help would be greatly appreciated Thanks:
    excepTable = new JTable(excepTableModel);
    excepTable.setAutoResizeMode(JTable.AUTO_RESIZE_OFF);
    int width = 100;
    TableColumnModel tcm;
    TableColumn tc;
    for(int i = excepTable.getColumnCount(); i > 0; i--)
    tcm = (TableColumnModel)excepTable.getColumnModel();
    tc = tcm.getColumn(i);
    if(i == 3)
    width = 400;
    tc.setWidth(width);
    tc.setMinWidth(width);
    tc.setMaxWidth(width);
    tc.setPreferredWidth(width);
    width = 100;
    exScroller = new JScrollPane(excepTable);

    .I've set a horizontal scrollbar by using 'table.setAutoResizeMode(JTable.AUTO_RESIZE_OFF);You are welcome.
    i want the column widht to be adjusted according to the length of column names and record length.so please tell me how to do it?Search the forum. This question has been asked and answered before.

  • Rich:toolBar in a JSF page:how to avoid horizontal scrollbars?

    Hi,
    I have a rich:toolBar. I create this toolbar from a backing bean class. I have around 19 dropdown menus in the toolbar. So when the toolbar renders, the length (i mean, width) of the toolbar exceeds the page width. This causes the browser to add a horizontal scrollbar. I do not want this scrollbar. My requirement is like this:
    when the width of the toolbar is more than the screen width, the rest of the menus must be added to another DropdownMenu.This menu will be the last menu and it will contain all the menus which cant be viewed when the toolbar is rendered.
    When we use overflow : hidden, it removes the scrollbar in firefox not in IE. If you are not clear about the requirement, you can see the firefox browser itself as one with the similar feature. when we open more tabs than it is able to render, the tabs which are not shown are added to a 'button' to the right of the browser window.
    Please help me with your ideas.
    Thanks,
    Geet

    the overflow : hidden worked well(actually not well, i was not able to see the menu items)on my firefox browser. but it didnt work on my IE. and my firefox version is 3.

  • ViewObject & Horizontal ScrollBar

    Hi All,
    I need to use 2 view object with the same number of column on a page jspx.
    I want to use only one horizontal scrollbar.
    How can I get the horizontal scrollbar position on one view and set the horizontal scrollbar position of the other one?
    In my page I use two viewobject with dvt:pivottable....
    thanks in advance,
    Luca

    1) create a stack canvas and assign window to it
    2) create your items on stack canvas
    3) set the stack canvas view port width and height according to your visible area of TAB canvas (the size of canvas must be more than View port)
    4) set its X and Y position according to the TABs
    5) set show scroll bar to YES horizontally
    6) set WHEN-TAB-PAGE-CHANGED trigger to show and hide canvases based on current tab selection.
    Hope you got the idea

  • Horizontal Scrollbar - GridControl

    Is it possible to add a horizontal scrollbar to an InfoSwing
    GridControl in a JDeveloper2 applet, without using the InfoBus
    Data Form?
    null

    masterGrid.setAutoResizeMode(JTable.AUTO_RESIZE_OFF);
    null

  • How can I add horizontal scrollbars to pop-up windows?

    When I generate WebHelp, the pop-up windows that I created in the help have vertical scrollbars but no horizontal scrollbars. It hasn't been a problem for me, but another user told me that the pop-up boxes are running off the screen to the right and without the horizontal scroll bars, he can't read all of the text.

    Yes you can but you'd need to add some JavaScript to your topic. Either that or amend the code already there. You should be aware though that there maybe differences in how they operate in different browsers. You maybe better off trying to change the size of your popups or adjusting the content in them. You can set a popup to any size by using the Custom Sized Popup option when creating the link.

  • Can I add more than one horizontal separator to the PanelUI (the new panel menu)

    Steps:
    1. Click the new panel menu button (hamburger)
    2. Click Customize
    3. On the left, drag "Separator (for panel menu)" from "Additional Tools and Features" to the panel on the right. A horizontal separator appears. "Separator (for panel menu)" no longer appears in the "Additional Tools and Features".
    I can add many "Separator" (vertical separator) to toolbars, but it appears I can only add one "Separator (for panel menu)" (horizontal separator) to the panel.
    I would like to add additional horizontal separators to the panel. Is there a way to do that?
    Firefox version: 33.1.1

    Yes, I do have Classic Theme Restorer installed (I love it!), but missed these customization nuances. After reading more threads, searching, and reviewing prefs.js, I saw the ctraddon_puib_separator.
    A while back, I had problems with vertical separators, specifically with AIOS, and had also looked for horizontal separators. The solution at that time was customizableui-special-separator{d}, where d was a unique digit.
    I always found the customization menu to be difficult to use, especially if a buttons addon was installed, mainly because it was unordered. I recently installed Sort and Search Customization Dialog and it has made a world of difference.
    I just started changing my FF ways and using the new menu. I wanted to divide up the menu into sections or activities. On top I'd have a row of user tools like history, bookmarks, then a divider and have a row of customization tools, another divider and development tools. The divider which provides the visual separation and grouping is really nice. I hope FF adopts them. I'll take my questions and feedback to the Classic Theme Restorer Forum thread shown on the addon page:
    https://addons.mozilla.org/en-US/firefox/addon/classicthemerestorer
    Thank you.

  • How to Add Horizontal scrollbar to JTextPane

    when i try to add Horizontal scrollbar to JTextPane it is not apperaing..plase help me..
    nagesh

    I tried in all ways
    1)HORIZONTAL_SCROLLBAR_ALWAYS and VERTICAL_SCROLLBAR_ALWAYS
    2)JTextPane textPane = new JTextPane();
    JScollPane scroller = new JScrollPane(textPane);
    or :
    3)JScollPane scroller = new JScrollPane(textPane, VERTICAL_SCROLLBAR_ALWAYS, HORIZONTAL_SCROLLBAR_ALWAYS);
    4)JScrollPane.setHorizontalScrollBarPolicy(
                   ScrollPaneConstants.HORIZONTAL_SCROLLBAR_ALWAYS);
                   JScrollPane.setVerticalScrollBarPolicy(
                   ScrollPaneConstants.VERTICAL_SCROLLBAR_ALWAYS);
    and also we tried to overwrite the setbounds also, but nothing is diplaying..

  • Can we add scrollbar to JOptionPane.showConfirmDialog()

    Hi,
    Can we add a scroll bar to JOptionPane.showConfirmDialog() so that the contents(messages) which are to be displayed are present in scrollbar so that the buttons will be visible to the user like OK, CANCEL.
    Currently when the message is large the buttons will not be visble in the screen.
    So, it is possible ? Or there is any other alternative for the same.
    Thanks.

    Is there another library that I have to import? I recieve this error when I try to compile...
    isPrime.java:53: cannot find symbol
    symbol : variable sb
    location: class isPrime
         JTextArea area = new JTextArea(sb.toString() );
    I have javax.swing.* imported as of right now...
         JTextArea area = new JTextArea(sb.toString());
          area.setRows(25);
          area.setColumns(100);
          area.setLineWrap(true);
          JScrollPane pane = new JScrollPane(area);
           JOptionPane.showConfirmDialog(null,
         pane,
           "Test", JOptionPane.YES_NO_OPTION, JOptionPane.QUESTION_MESSAGE);
    /*         JOptionPane.showMessageDialog(null,
               printArray(array),
         "Thanks for using Reverse Array", JOptionPane.INFORMATION_MESSAGE);
    */       the comment text is what I eventually wish to print((I simply hid it from the compiler so I could play w/ the code you provided)... it is the first 'n' number of primes up to which I'd like to be able to scroll through for large prints over 100 primes.
    thx for the help

  • Can't get horizontal scrollbar in JScrollPane to work

    I have a JTable in a JScrollPane and when I load the data the vertical scrollbar shows up and works fine but no horizontal scrollbar shows up even though I have 38 columns in the table. The columns are all very small and even when I manually resize them no scrollbar appears. I have set the scrollbar policy in the JScrollPane to always have a horizontal scrollbar and all that does is show the two arrows at the corners and no bar???

    Maybe you need to call
    yourtable.setAutoResizeMode(JTable.AUTO_RESIZE_OFF);

  • To disable the horizontal scrollbar and to create a next button to navigate

    To disable the horizontal scrollbar and to create a next button to navigate through the records. At present I create a JSF page and drag and drop my table view and then using the Tuning property I have limited the number of records to be shown. But I need to add a button and then code it to display the next few records. Can someone kindly suggest a suitable mechanism to get this accomplished.
    Edited by: 888970 on Oct 2, 2011 10:15 PM

    Hi Erp,
    At present these are the entries that I have in my JSPX page.
    I have a Table, Iterator and a Input List of Values. As per the scenario, I want a few rows to appear on the table for which I wanted to disable the horizontal scroll bar and then once I click on the list of values it must prompt me with the remaining page numbers.
    Earlier there are about 150 records in the table. I want to show them as 15 per page.
    For which I have added the Iterator and a LOV component code in my JSPX page.
    <af:iterator id="i1"
    value="#{bindings.NsEventDetailsView1.collectionModel}"
    var="row"
    binding="#{pageFlowScope.testPageBean.myIterator}"/>
    <af:inputListOfValues label="Label 1"
    popupTitle="Search and Result Dialog" id="ilov1"/>
    Then I created the bean class as per the example.
    Below is the bean class:
    import javax.faces.event.ValueChangeEvent;
    import oracle.adf.view.rich.context.AdfFacesContext;
    import org.apache.myfaces.trinidad.component.UIXIterator;
    import org.apache.myfaces.trinidad.event.AttributeChangeEvent;
    public class TestPagebean {
    public TestPagebean() {
    public void i1ov1_valueChangeListener(ValueChangeEvent valueChangeEvent) {
    // Add event code here...
    private UIXIterator myiter;
    public void setI1(UIXIterator myiter) {
    this.myiter=myiter;
    public UIXIterator getmyiter() {
    this.myiter=myiter;
    public UIXIterator setmyiter() {
    return myiter;
    UIXIterator valueIterator = getmyiter();
    if (!valueChangeEvent.getNewValue().equals(valueChangeEvent.getOldValue())) {
    int newPage =
    Integer.parseInt(valueChangeEvent.getNewValue().toString());
    int pageStart = (newPage) * valueIterator.getRows();
    valueIterator.setFirst(pageStart);
    AdfFacesContext.getCurrentInstance().addPartialTarget(valueIterator);
    But i am getting errors in the bean class.
    1. Block expecting }
    2. public UIXIterator getmyiter() {
    this.myiter=myiter;
    Return Statement missing
    3. Block expecting {
    4. Type or variable 'valueChangeEvent' not found
    5. Method 'getNewValue' not found
    6. Method 'getOldValue' not found
    7. Method 'toString' not found
    Can you suggest a possible solution?

  • How do you add a Vertical scrollbar to a JTextArea?

    How do you add a Vertical scrollbar to a JTextArea? This is what I've tried so far but it hasn't worked. I got that off of someone asking a similiar question here.
    aTextArea = new JTextArea(10, 40);
             JScrollPane scrollPane = new JScrollPane(aTextArea);
             aTextArea.setText( " " );

    JScrollPane(component)
    this constructor will only show the scrollbar (vertical and/or horizontal) as needed..so, if the scrollpane viewport is larger than the component, then it will not show the scrollbar.
    you can force the scrollbar to alway show
    setHorizontalScrollBarPolicy(int policy)
    setVerticalScrollBarPolicy(int policy)

Maybe you are looking for

  • Could not complete the camera raw command because of disk error

    Hi, First off, I am using a Mac (OS X ver. 10.9.2) and Adobe Creative Cloud Photoshop (2014). I just downloaded the preset pack off VSCO for Adobe Camera RAW and I am having trouble getting it to work. When I try to launch the "Camera Raw Filter", I

  • Can I generate sine and square waves with NI PCI-MIO-16XE-50 card??

    Can I generate sine and square waves with NI PCI-MIO-16XE-50 card?? How Do I generate those signals?

  • Problem installing patch 5.1.0.44.6

    i am trying to install the newley released 5.1.0.44.6 patch on our test acs boxe 5.1 running 5.1.0.44.3 before applying it to the our production boxes and i am getting this error message. ' this system failure occurred: Failed to access respository 5

  • Smart sharpen out of memory error in action

    I have a watermark action that creates a history state, flattens the image, resizes to 2000 px wide, places a watermark, selects the background and does a smart sharpen.  Bloody thing gives a memory error every time.  The only way I can avoid the mem

  • Need help with sq01 query for FI data

    hello,   i have created a simple query whihc requires document header and line item information , bkpf and bsis works for this, but another requirement is that business needs vendor and customer accounts to be displayed also . bsis does not have vend