Scroll Bar on Stacked Canvas [Solved]

Hi,
I am trying to do the following. I have a form FORM A. Another form FORM B is called with a click of a button on FORM A. FORM B is having 2 blocks each on a stacked canvas. BLOCK 1 is master block and BLOCK 2 is detail block. Table on which BLOCK 2 is based on has 200 columns. Below is the property set for this block.
1. Number of Records Displayed: 1
2. Record Orientation: Vertical (To see 200 columns vertically).
Now issue is that only 20 records (columns actually) are displayed in the viewport. And user has to tab out to go to next record (column).
I want to put a vertical scroll bar here so that user can scroll down. I am not sure how to achieve this. Will scroll_view work in this case?
Forms Version: 6i
Thanks and Regards
Amit Trivedi
Never Mind got it working now.
Edited by: ATrivedi on Jun 18, 2009 5:06 PM

Set the Block2 canvas property
Show vertical Scrollbar -- yes
Please mark helpful/correct
kanish

Similar Messages

  • Scroll bar in tab canvas

    hi guys
    iam developing a custom form using forms 6i
    this is my prob i have a content canvas and a tab canvas in my window i have abt 20 col in my one of tab and i want to use a scroll bar in one tab how can i get it can any one help me urgent
    ravi

    Well, you are kind of out of luck: no horizontal scrollbar for tab canvases.
    Still, here's what I did to solve this problem:
    - I make a stacked canvas that would display above the tab-canvas, having an horizontal scrollbar
    - on the when-tab-page-changed I write the code needed to get to show/hide the stacked canvas, depending on which tab activates.
    It's not so simple, still this works.
    If anyone has a better solution without using java beans or some other complications, I'd really like to know how.

  • How to create 2 scroll bar in 2 canvas

    Hello All,
    I will appreciate if somebody knows how to create 2 scroll bars in 2 Content canvases and all items text item belongs to one data block.
    In data block property it shows only one scroll bar. Their is no property of scroll bar in canvas.
    Regards,
    Atif

    Go to the layout editor.
    Take the Stacked canvas tool in the toolbox
    draw a stacked canvas on the content canvas (the stacked can could be larger than the content one)
    edit you item properties to display on the content canvas
    adjust the window to the same width and weight properties than the content canvas.
    The simplest way it to use the datablock wizard to create the data block, then indicate to show items not on the content canvas but the stacked canvas.
    Francois

  • Future support for Scroll Bar Events?, Any workarounds?

    I am wondering whether there is an intention to add scroll bar
    events to Forms. These would be incredibly useful in a number of
    situations ie
    1) You have a window with two stacked canvases. One contains
    items in a tabular MR block style. It has a horizontal scroll
    bar. When the user scrolls this view, I want to move another
    stacked canvas by the scrolled amount, to keep it in synch with
    the underlying items.
    2) Similar problem for block scroll bars. In a MR block, I have
    a list item on a stacked canvas, that I reposition over the the
    current record. This is acheived by writing a When-New-record-
    Instance trigger. Unfortunately, when the user scrolls with the
    scroll bar, the stacked canvas obviously doesn't move.
    The only solution I have found is to use timers, which is very
    messy
    null

    Hello,
    This is a well-known issue with this code, as you can see in the thread you copied the code from.
    In the following post, Laura is presenting an IE only solution, based on a different code I wrote - Re: How to implement fixed column headers . Cross browser solution is yet to be found.
    Regards,
    Arie.

  • Disable Canvas Scroll Bars?

    This seems a simple task.
    Is there a way to turn off/disable the scroll bars of a
    canvas?
    Thanks
    Mathias

    That seems to simple. I looked through all of the attributes
    and did not see that.
    sorry for asking the obvious.
    Thanks Tracy
    Mathias

  • Scroll Bar in forms 6i

    I have the following requirement-
    to create a form based on table columns of a customized table as per bissuness requirement and register it onto oracle apps 11i. the table has around 80 columns. so horizontal scroll bar is required to scroll thru all the columns. and it is also required to display 10 records when the form opens. so vertical scroll bar is required to scroll through the records.
    i tried lots of combinations like - seting show scroll bar - yes, scroll bar orientation - vertical on the DataBlock property pellet. and show horizontal scroll bar on the canvas property pellet. the canvas i created from the Datablock is a stacked canvas only.
    please suggest if i am missing anything, as scroll bar is never showing up. neither vertical nor horizontal. atleast m able to see the vertical scroll bar on the canvas layout editor. but its not coming on the Apps Forms window.
    Please Help !!!!!!!!!!!!!!!!!

    hi Sam,
    1. Create your main canvas Type will be CONTENT.
    2. Draw a stack canvas over it
    3. Set the Viewport width and height property of the stack canvas to visible area (Press F4 by selecting it or Right click Properties in Object Navigator).
    4. Set the Canvas Width so u can put all your field in that canvas.
    5. Set the Horizontal or Vertical scroll bar property of the Stack canvas.
    Note: Canvas width and viewport width both are different things. Viewport is the visible area of the canvas
    plz mark it helpful/correct

  • Stacked canvas and bean area

    Hi
    i have a bean area which display graph placed on a stacked canvas. i have set the stacked canvas to show the horizontal scrollbar. i want to allow user to scroll through the stacked canvas when the graph increase in width.
    in my program, the bean area width would be dynamically change - increase the width depending on the number of data using
    set_item_property('NAV.BA',WIDTH,690).
    but the bean area does not seem to increase in width even when i set the property. why is it so?
    appreciate any help. thx.
    Siti

    Hi,
    did you try to change the size of the bean display that runs in the BeanArea. The bean area should adjust to the size of the bean displayed. I didn't find a bug filed on the issue of not being able to set the width and height of a JavaBean container. But I could find one for Forms 6.0.5 that was fixed in 6i about not resizing the bean container according to the resize of the embedded bean area.
    If this doesn't solve the problem I recommend contacting customer support at metalink.oracle.com
    Frank

  • [FYI] FRM-92101 and scroll bar and form crash

    Forms 6i
    Windows 2k for app server.
    I have just spent three hours figuring out why I was getting a FRM-92101 when I deployed a form from my development app server to my test app server. Noted that the development server has patch 18 and uses cgi, not sure what patch the test server has but it uses servlet. Anyway the form worked perfectly on the dev server but would crash out with the error on entry in the form on the test server. Eventually I found the solution to be a scroll bar on a block, get rid of the scroll bar from the canvas and voila it worked. Ended up having to place the scroll bar on a stacked canvas to get it to work on the test server. I have already had to deal with a palette issue and those dark pink colours on deployment. Developed for a while on visual studio and never came across such annoying quirks as these.

    I use XP to develop so I was compiling it there and then copying it across to both servers. Should I compile forms on the app server where they are going to be served or have I picked you up correctly?
    Kind regards

  • Stacked Canvas Layout and Design

    I am trying to create a canvas template for use in our development environment. What I am wanting to do is to create a header and a footer section on this template with a stacked canvas in the middle. This stacked canvas would hold all of the content, data and controls for each form. This stacked canvas is the only thing that would change. The header and footer would look the same for each form. I am trying to create something similar to an HTML page with frames that defines header, content and footer frames. I want the user to be able to vertically scroll only the stacked canvas while the header and footer stay in position.
    My question is: How can I use the tools in Forms Builder to place controls in the stacked canvas? The builder does not allow me to scroll the stacked canvas in design mode so I can't reach all the areas of the stacked canvas. Does this make sense?
    I am using Forms 10g.
    Thanks...

    It isn't exactly clear, but assuming you have a content canvas (which I like to call the parent) and a stacked canvas "stacked" on top of the parent the there are several ways to put objects on the stacked canvas. Probably the easest and clearest is to simply find the stacked canvas in the Object Navigator and double click on it. This should open the Layout Editor with the parent canvas window selected (white boarder) and the stacked canvas displayed on top and selected (black boarder). Now just draw your objects on it. You can verify that they are on the stacked canvas by looking at the Properties for each object. You should see where you can choose which canvas you want the object to be displayed.
    If this does not work, look in the Builder menu "View" > "Stacked canvas..." and ensure that your stacked canvas is not being hidden. If the stacked canvas is already displayed in the Layout Editor, this menu item may be disabled.
    I am assuming you are using Forms 10.1.2 or newer. Older versions will be slightly different.

  • Content canvas to stacked canvas for scroll bars

    I have a form which has more items. Initially I developed the form with content canvas(this has vertical scroll bar). now I changed this canvas to stacked canvas to get horizontal + vertical scroll bar. But I am not able to do it. Can any one please advice me how to achieve. Basically I need horizontal + veritcal scroll, so that user can easily scroll it.
    Appreciate your help.
    Thanks in Advance!!

    Hi
    This is a common task in Oracle Applications forms, the steps would be:
    - Put the context, fixed fields on content canvas, to the left of the window
    - Modify the block to show vertical scroll bar, display it on content canvas, to the right of the window
    - Accommodate remaining fields on stacked canvas, all of them from 0.0 to the right.
    - Modify stacked canvas viewport size and position to be shown in the space between the fixed fields on the content canvas and the vertical scrollbar on it, allow for space to the horizontal scrollbar
    - As Craig's answer states, modify stacked canvas property to show horizontal scrollbar

  • Stack Canvas Horizontal Scroll Bar

    Hi There,
    I'm using Forms 6i (Rel.2) and i am facing a problem with may stack canvas's horizontal scroll bar at runtime, as follows:
    As I put the cursor on an Item inside the stack canvas, and try to scroll away to the left where that Item is no longer viewable, and then stop scrolling, the scroll back will jump back to that Item,so I have to press and hold the mouse on the scroll bar as long as I need to see other Items at the far end! I tried to set the "Raise on entry" property to "YES", but no success.
    I tried the same in Forms 5 and it works fine with no problems at all!!!
    Any suggestions?

    Hi,
    My colleague found out that a timer I had programmed in a calling form to show the current time was actually refreshing every one second and in doing that it was refreshing the whole view which caused it to jump back to the first item. I had to remove the timer and it's working fine now.
    Thanks again,
    Ali

  • Content canvas and  a stacked canvas moving when scroll through the details

    Dear Friends
    I have Mater and Details Block , and I have two canvas content canvas and a stacked canvas, and the a stacked canvas on top of content canvas , and I have set the horizontal and vertical scroll bar for the stacked canvas , my problem is that when I inquire and click on the details block which is on stacked canvas the header content canvas is moved up
    and what I want the header to be stable and not moving when scroll through the details .
    Best regards
    Jamil Alshaibani

    if the canvas is moved during runtime in general the problem is that is does not fit completly in the window. Try to adjust your window-size so that the whole layout fits into it.

  • Long canvas with scroll bar

    Hi. I have a form with a very long canvas containing more items than fit on the screen at a time - meaning some items are far down on the canvas and do not appear unless the user physically uses the mouse and scrolls down. This causes a problem for me because as the user tabs through the various fields the cursor will eventually "appear" to disappear. It has not actually disappeared of course, but it has simply navigated to an item that is further down on the canvas out-of-sight. Thus the user must recognize that this has happened and then use the mouse to scroll down and find the cursor again.
    Is there a way to automatically coordinate this scrolling so that the cursor always stays in view for the user - meaning that the user will never have to manually scroll down to find the cursor? Or worst case, can I programatically scroll down for the user so that the cursor always remains visible?
    Any help would be greatly appreciated. If you have any sample code please send it to: [email protected]
    Thanks in advance.
    Edited by: Buechler on Jun 30, 2009 12:20 PM

    -> 3) Changed the default Window width to 5 and it's height to 12
    Don't do that. That apparently guarantees the problem you have.
    The Window size should be no larger than will fit on the user's screen, and the user running the lowest screen resolution should be your target. We create forms no larger than will fit on the 800x600 layout. Our forms always use the Real,Pixel coordinate system, and I create forms with the window size set to a maximum of 784x442. Those reduced numbers allow the form to fit within a browser window in web forms. Our forms run under both 6i Client/Server AND Web, and there is a pre-form that adjusts the web form window size a little larger, but that is all.
    Also, when you run your form, that scrollbar you see is there because your window is not maximized. Our forms always maximize the window, and even have a when-window-resized trigger with this:
    <pre><font face = "Lucida Console, Courier New, Courier, Fixed" size = "1" color = "navy">DECLARE
    W0 Window := Find_Window('WINDOW0');
    BEGIN
    If Get_Window_Property(W0,Window_State)<>'MAXIMIZE' then
    Set_Window_Property(W0,Window_State,Maximize);
    End if;
    END;</font></pre>
    The wwr trigger ensures the user never sees the Window0 border -- it is useless unless you are running a form with multiple windows, which we never do.
    So.... Maximize your Window0, and then you will see the behavior I have been describing. Create a stacked canvas with a vertical scrollbar, and it will behave even better.

  • How to make the scroll bar in flex automate to focus on the new ui component added in the canvas?

    Hi all ,
    There is a canvas container where am adding charts in separate windows.
    So whenever a new chart is added the scroll bar needs to set the focus on the present chart window.
    For this i made the functionality for the canvas container to scroll whenever a new chart is added using the below code
    canvasContainer.verticalScrollPosition = canvasContainer.maxVerticalScrollPosition;
    But the calculations for the vertical position are not precise...
    Is there anything else I should do to make the scroll happen automatically as the chart windows get added in the container ??
    Any suggestions pls
    Regards,
    Ajantha

    Many many thanks to Frank,
    In the css,use the follwing style settings to hide the scroll bar
    af|carousel::spin-bar{    
    visibility: hidden;
    af|carousel::spin-h-previous-icon-style{
    visibility: hidden;
    af|carousel::spin-h-next-icon-style{
    visibility: hidden;
    af|carousel::spin-info{
    visibility: hidden;
    }

  • How to get transparency scroll bar to view background image of canvas.

    HI, 
    How to get transparency to path in canvas to view background image in canvas using scroll bar control.?
    This is my present output:
    My Xaml Code:
    <Grid Height="auto" Name="grid1">
    <TabControl Background="Bisque">
    <TabItem Header="Tools">
    <Grid Height="1000" Width="1000" Name="grid">
    <Border BorderThickness="0.2" BorderBrush="Black" Height="820" Width="820" ClipToBounds="True" Margin="90,99,90,81"></Border>
    <Grid>
    <Button Content="Original Size" Height="23" Name="btn_Original" Width="75" Click="btnOriginalSizePosition" Margin="4,4,921,973" />
    <TextBox Height="20" HorizontalAlignment="Left" Margin="62,49,0,0" x:Name="txtNoOfZones" VerticalAlignment="Top" Width="49"
    MaxLength="2" PreviewTextInput="txtNoOfZones_PreviewTextInput"/>
    <TextBox Height="20" HorizontalAlignment="Right" Margin="0,71,890,0" x:Name="txtSec" VerticalAlignment="Top" Width="49" PreviewTextInput="txtSec_PreviewTextInput" MaxLength="3"/>
    <Button Content="OK" Height="32" HorizontalAlignment="Left" Margin="117,59,0,0" Name="btnNoOfZones" VerticalAlignment="Top" Width="39" Click="btnNoOfZones_Click" />
    <Label Content="Zone Number selected :" Height="28" HorizontalAlignment="Right" Margin="0,0,451,0" Name="lblZone" VerticalAlignment="Top" />
    <Label Content="Sector Number in selected Zone :" Height="28" HorizontalAlignment="Right" Margin="364,22,451,0" Name="lblSector" VerticalAlignment="Top" />
    <Label Content="Filled Color applied in selected sector :" Height="28" HorizontalAlignment="Right" Margin="336,44,451,0" Name="lblColor" VerticalAlignment="Top" />
    <Label HorizontalAlignment="Left" Margin="569,0,0,0" Name="lblZoneNumber" Height="28" VerticalAlignment="Top" />
    <Label Height="28" HorizontalAlignment="Left" Margin="569,22,0,0" Name="lblSectorNumber" VerticalAlignment="Top" />
    <Label Height="30" HorizontalAlignment="Left" Margin="569,44,0,0" Name="lblFillColor" VerticalAlignment="Top" FontWeight="Bold"/>
    <Label Content="Sectors :" Height="28" HorizontalAlignment="Left" Margin="7,67,0,905" Width="69" />
    <Label Content="Zones :" HorizontalAlignment="Left" Margin="13,44,0,928"/>
    <TextBlock Height="23" HorizontalAlignment="Left" Margin="4,32,0,0" Text="Change No.of Zones, sectors below and click OK button" VerticalAlignment="Top" Width="294" FontFamily="Cambria" FontSize="12" FontStyle="Italic" FontWeight="Bold" />
    <RadioButton Content="Single Sector" Height="16" HorizontalAlignment="Left" Margin="744,24,0,0" Name="rBtnSingleSector" VerticalAlignment="Top" GroupName="Selection"/>
    <RadioButton Content="Sector Zone" Height="16" HorizontalAlignment="Left" Margin="744,44,0,0" Name="rBtnSectorZone" VerticalAlignment="Top" GroupName="Selection"/>
    <RadioButton Content="Circular Zone" Height="16" HorizontalAlignment="Left" Margin="744,64,0,0" Name="rBtnCircularZone" VerticalAlignment="Top" GroupName="Selection"/>
    <RadioButton Content="Panning" Height="24" HorizontalAlignment="Left" Margin="744,4,0,0" Name="rBtnPanning" VerticalAlignment="Top" Width="74" GroupName="Selection"/>
    <Border x:Name="clipBorder" BorderBrush="Black" BorderThickness="0" ClipToBounds="True" Height="810" Width="810" Margin="95,104,95,86" CornerRadius="10">
    <Canvas x:Name="CanvasPanel" Height="800" Width="800" Background="Transparent" ClipToBounds="True"></Canvas>
    </Border>
    <RadioButton Content="Random Color" HorizontalAlignment="Left" Margin="868,5,0,979" Name="rdBtnRandomColor" GroupName="rdbtnGroupFillColor"/>
    <RadioButton Content="Red Color" Height="16" HorizontalAlignment="Left" Margin="868,24,0,0" Name="rdBtnRedColor" VerticalAlignment="Top" GroupName="rdbtnGroupFillColor" Foreground="#FFF81010" FontWeight="Bold" />
    <RadioButton Content="Green Color" Height="16" HorizontalAlignment="Left" Margin="868,44,0,0" Name="rdBtnGreenColor" VerticalAlignment="Top" GroupName="rdbtnGroupFillColor" Foreground="#FF175F17" FontWeight="Bold" />
    <RadioButton Content="Adjacent" Height="16" HorizontalAlignment="Left" Margin="435,81,0,0" Name="rdBtnAdjacent" VerticalAlignment="Top" GroupName="Selection" />
    </Grid>
    </Grid>
    </TabItem>
    <TabItem Header="Change Background">
    <Grid Height="1000" VerticalAlignment="Top" Background="Bisque">
    <Button Height="70" Width="70" Margin="6,1,892,929" Name="btnBrowseImage" Click="btnAll">
    <Image x:Name="browseIcon" Source="D:\WPF\Projects\TabControlVRI_18_12_2014\Images\img.png" MouseLeftButtonDown="Image_MouseLeftButtonDown_1"/>
    </Button>
    <Button Height="70" Width="70" Margin="92,1,806,929" Name="btnCenterPoint" Click="btnAll">
    <Image x:Name="centerIcon" Source="D:\WPF\Projects\TabControlVRI_18_12_2014\Images\center.jpg" Width="54" Height="48" />
    </Button>
    <Button Height="70" Width="70" Margin="179,1,719,929" Click="btnAll">
    <Image x:Name="boundaryIcon" Source="D:\WPF\Projects\TabControlVRI_18_12_2014\Images\Path_Simple.png" Height="44" Width="49" />
    </Button>
    <Image Name="imgBackground" Height="800" Width="800" MouseLeftButtonDown="imgBackground_MouseLeftButtonDown">
    </Image>
    </Grid>
    </TabItem>
    </TabControl>
    </Grid>
    C# code:
    OpenFileDialog op = new OpenFileDialog();
    ImageBrush ib = new ImageBrush();
    private void Image_MouseLeftButtonDown_1(object sender, RoutedEventArgs e)
    op.Title = "Select a picture";
    op.Filter = "All supported graphics|*.jpg;*.jpeg;*.png|" +
    "JPEG (*.jpg;*.jpeg)|*.jpg;*.jpeg|" +
    "Portable Network Graphic (*.png)|*.png";
    if (op.ShowDialog() == true)
    ib.ImageSource = new BitmapImage(new Uri(op.FileName));
    imgBackground.Source = new BitmapImage(new Uri(op.FileName));
    CanvasPanel.Background = ib;
    Please help me out to get transparency for path in canvas to view background image in canvas.
    The complete code is in below link:
    https://onedrive.live.com/redir?resid=876CFAE94C306176!112&authkey=!AC1sQIYwyoRYT_o&ithint=file%2crar
    Regards,
    Viswa.

    Hi ViswAmmu,
    >>Please help me out to get transparency for path in canvas to view background image in canvas.
    If I'm not misunderstanding, I think you just need to loop through all Canvas.Children and set Opacity property for them:
    private void Image_MouseLeftButtonDown_1(object sender, RoutedEventArgs e)
    //Loop through all children items
    foreach(UIElement v in CanvasPanel.Children)
    v.Opacity = 0;
    op.Title = "Select a picture";
    op.Filter = "All supported graphics|*.jpg;*.jpeg;*.png|" +
    "JPEG (*.jpg;*.jpeg)|*.jpg;*.jpeg|" +
    "Portable Network Graphic (*.png)|*.png";
    if (op.ShowDialog() == true)
    ib.ImageSource = new BitmapImage(new Uri(op.FileName));
    imgBackground.Source = new BitmapImage(new Uri(op.FileName));
    CanvasPanel.Background = ib;
    Screenshot:
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

Maybe you are looking for

  • How to back up contacts in E61i since using window...

    Hi everyone. i am from Malaysia and I use a Nokia E61i. Once a month I will sync my mobile with my pc and the contacts are automatically updated in Outlook. I then export the updated contacts into Excel and other (tab, csv) formats for safekeeping. N

  • Qosmio G10-100: Installing second HDD & obtaining mounting bracket

    I'd like to install a second hard drive. Any instructions or general tips on how to do so would be greatly appreciated. I'm looking at purchasing a HITACHI T7K500 Desktar 2.5" - 320 GB Interface: SATA 3.0 GB/s serial & ATA Ultra 133 parallel. Is this

  • Firefox wants to install an update but I can't install it. My settings are just like the suggest settings.

    I read your suggestions for going to the XP Tools menu, going to Advanced, going to Options ... and all my settings are just like what you show in your suggestions. But I keep getting messages saying I should download the latest Firefox update, and i

  • Help with starting a Podcast!

    Hello! I am wanting to start a podcast, but I am afraid I have no idea exactly how to.. I have spent quite a bit of time researching the easiest most effective way to start a podcast and upload it to Itunes, but in the end just feel more confused.. S

  • Accessing a single portlet using an URL in a browser window

    Is there a way to access a portlet alone using a URL and render it in a browser? Am able to access a service request form similarly using its service request id in the URL. But i don't find an URL for portlet to access it separately in a browser. I n