Stacked Canvas distrubing the fields

hi
i have a form with search button,when i press this button to display the list of value(LOV),it distrub the all labels and text fields on the form.when i complete my searching process then all labels and text fields come back at its original position.i try my level best to overcome this problem by changing the Canvas type.
firstaly i was used Stacked Canvas coz i need horizantal and vertical on my form,if i keep canvvas type content instead of satck then this canvas did not distrub all labels and fields,but it did not facilitate me with horizantal and vetical scrollbar and this scrollbar are my essentail requirement coz i have much of fiels to disply on form.
plz let me know rightly what should i do to overcome this problem.
thanks in advance
Best Regards.
Edited by: shahani110 on Sep 7, 2008 8:10 PM

I think that we can help you if you give us some pieces of your code.
What you mean when you say "i have a form with search button,when i press this button to display
the list of value(LOV),it distrub the all labels and text fields on the
form"
for distrub all labels?
Fabrizio

Similar Messages

  • Display employees details in the stacked canvas from the content canvas

    Hi all,
           I want to display employees details in the stacked canvas from the content canvas,where i passed the empno & click on the find button , i have 2 blocks(emp,control), in control block only find button there, I have only one table i.e;emp
    BEGIN
        GO_BLOCK('EMP');
        Set_block_property('EMP', default_where, 'Empno = :EMP.EMPNO');
         Show_view('EMP_DET_CAN');
        execute_query;
    END;
    Thank You

    Hi Andreas Wieden,
    Andreas Weiden wrote:
    When you query on the EMP-block, yiou cannot include a WHERE-condition to that block as the block is cleared when the EXECUTE_QUERY starts. If you want to have a different find-block where you enter your search-condition, you have to include that item in your separate find-block. Otherwise use the standard-search-mechanism with ENTER_QUERY and EXECUTE_QUERY.
    You are right, so where clause is not possible in the same block, right?.I have to take empno column where it is a search column into the control block right?
    Please suggest me i want to retrieve records into the stacked canvas when i pass the empno & click on the find button in the content canvas? Is this not possible? If possible please let me know? I mean i want to take the search column in the EMP Block & find button in the control block..
    Thank You

  • Tab canvas disappear when the main stacked canvas reach the end of column

    Hi all,
    I have 3 canvas ( 1 main canvas, 1 stacked canvas ) and this link to 1 tab canvas. All these are in the same window.
    Whenever using the keyboard to press enter navigate from column to column and when it reach the end of the main canvas which is about to jump to the stack canvas, the two canvas ( stacked & tab ) was hide by itself. Even I have stated earlier to show all canvas in the pre-block trigger. when I keep on press the enter to jump to the next stacked canvas, this stacked canvas is being shown again. My tab canvas was not appear if I am press the enter key. However, if I press the arrow key down the tab canvas is appear. This I wasn't do any code to call the tab canvas.
    When I keep on press enter and reach the end of the stacked canvas again the tab canvas is disappear, unless I have press the arrow key down to display the tab canvas.
    Trying to use show_view( tab canvas ) in many trigger but still does not show the effect.
    Anyone has this experience before ?
    Thanks.
    Lim

    Hi Lim
    Pls check this hope it helps u to recognize dealing with muti-canvas in 1 window...
    how to use stack canvas in tab canvas in oracle forms
    Regards,
    Amatu Allah.
    Edited by: Amatu Allah on Sep 22, 2011 2:23 AM

  • How do put a stack canvas inside the tab canvas

    Hi all,
    I have content canvas and tab canvas Now i want to put a stack canvas on the tab canvas .suppose tab canvas page are Page1,page2, page3 when i click the page1 then display the stack canvas 1,and when i click page2 then
    display stack canvas 3 ..... so on. help me to find the solutions to this Issue
    Thanks

    You would use the when-tab-page-changed trigger to use hide_view and show_view commands to hide one stacked canvas and show another.
    Just keep in mind that for a canvas to be displayed, the cursor must be in an item on that canvas, or at least in an item NOT covered by the canvas.

  • Stacked canvas view placed on the content canvas

    Hi to all,
    i am developed a one form ,i.e placed the stacked canvas view on the content convas.
    i create a two data block's with same table.
    one data block for content canvas and one for stacked canvas.
    in the content canvas i taken two fileds with scroll bar and remaining fields placed on the stacked canvas.
    these stacked canvas view put on the content canvas.it dispalying and
    executed succesfully.
    here i am getting one problem i am displying the 10 records at a time in both canvases.my requirment is placed on the
    cursor on the content canvas particular record scroll down then automatically show the same record details in stacked canvas and
    content canvas scroll bar is changed automatically stacked canvas scroll bar is changed.
    any one help me.........

    {quotei create a two data block's with same table.
    one data block for content canvas and one for stacked canvas.{quote}
    This is not necessary. Just create one data block and then assign the block items to your Content and Stacked canvases. You can display items in a data block on different canvases. By doing this, there is no need to write code to synchronize the records because they are part of the same data block so they will automatically scroll as you navigate through your records.
    Craig...

  • Stacked contents disappear when reach the end of the field

    I have one content canvas and one stacked canvas, I have putting the show_view('canvas1') to show the stacked canvas in the when-new-form-instance. However, when I press enter on the first field in the content canvas, the stacked canvas disappear immediately and when the cursor jump from content canvas to stacked canvas the stacked canvas is shown. When I keep on press enter reach the end field of the stacked canvas and jump back to the content canvas, the stacked canvas is disappear again. And the cursor still keep on reside on the firs record / row without jumping to the next two of record. How do deal with this ?
    I need to shown the stacked canvas even the cursor back to the first content canvas and also I want the record to be jump into next row / record once it reach the end of the column.
    Thanks.
    Lim

    hi
    try something like this.
    GO_BOCK('BLOCK.ITEM_NAME');
    HIDE_CANVAS('CANVAS_NAME');
    SHOW_CANVAS('CANVAS_NAME');sarah

  • Stacked canvas is overlapping the content canvas

    Hi all,
    I am writing a program where I have one content canvas and a button to display the stacked canvas on button click. But when I run the form, 'only' the stacked canvas is showing-up even though I have hidden the stacked canvas in the on-new-form trigger.
    Can anybody please shed some light.
    Thanks,
    Naren.

    Hi,
    Assuming you have two or more datablocks:
    On the object navigator, move up (drag-drop) the datablock shown on the main canvas, so it apeears first.
    OR
    Open the Forms properties and set property: "First navigation data block"
    Regards,
    Hugo.

  • 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.

  • Setting VIEWPORT_X_POS hide the stack canvas

    In Forms 6i i use the next command:
    set_view_property(l_canvas_stack_name, VIEWPORT_X_POS, l_canvas_stack_x_pos);
    when the l_canvas_stack_x_pos > 0 (in my case = 175).
    But instead of move it to different x position the command hide the canvas (its disappear from window).
    What can be a problem?

    Hi
    If i try the code you modify i see only stack canvas on the window without content canvas.okey that's what i explaned previously u can comment the
    -- Hide_canvas ('canvas_name');
    it can't be used in When-New-Form-Instance because i as said it hides the main basic content canvas.But it will only shows the the content + Stacked and set the cursor focus in ur stacked
    The procedure repaint items on the content and stack canvas according to user definition of items orders (its change item's x position and width).sorry but i can't imagine could u give me an example pls.
    what i got is...
    The user supposed to define items orders u mean in a store application or the oreder of items from a,b,c to say c,a,b according to what i don't know.
    There a missing link here ...
    Its complicate code. If you need i will post it here.i don't understand the concept or the bussiness may be i exactly can't recognize what is the problem any way here is an example that may help u...
    DECLARE
    vw_id ViewPort;
    BEGIN
    vw_id := Find_View('Sales_Summary');
    Set_View_Property(vw_id, VIEWPORT_X_POS, 30);
    Set_View_Property(vw_id, VIEWPORT_Y_POS, 5);
    END; Hope theis helps...
    Regards,
    Abdetu...

  • Stacked Canvas question in Forms [32 Bit] Version 10.1.2.3.0 (Production)

    Hi Friends, I am not sure if my explanation will suffice for resolution to this easy problem that is causing me so much grief.
    I have a form with one content canvas ROOT_CNV, One tab canvas TAB_CNV with two tab pages and One STACK Canvas Stack_CNV.
    All these canvases are on one Window ROOT_WINDOW.
    The tab canvas (TAB_CNV) is tabular in nature.
    There is a menu button that you can press that switches one record in the tab canvas and place this record in the stack_cnv. All the fields on the stack_cnv are mirror_image of the Tab canvas record that is the items are synchronised.
    NOW THE PROBLEM. When you press the switch button and you are in the stack canvas and you try to query any record, the form will take you back to the tab canvas and the fields will freezes, there are lots of forms here with this functionality that woks, but I cannot figure out while this particular one is behaving lke this.
    I have made the Stack canvas smaller, however, the issue is till the same, I think it has to do with the stacking order and I had already rearrange this to know avail, any suggestion will be appreciated.
    Thank you.
    Tab canvas
    Page 1        Page 2
    *===== ========*
    record     proj              sub         Status
    *1 A 1 ACTIVE*
    *2 B 1 PENDING*
    *3 C 1 ACTIVE*
    *4 C 2 ACTIVE*
    Click on the Menu Icon on record 1, then the stack canvas shows up (Stack_CNV) in a form Format
    **STACK_CNV* Page1 Page2*
    *===== =======*
    Prog:       A                Sub  : 1
    Status :   ACTIVE
    The tab pages still shows up on the stack canvas which is okay, however, when you try to query from the stack canvas, it takes you back to the tab canvas and everything freezes. Both canvas are on Root_cnv content canvas.

    Hi Ade2
    Pls Create a KEY-ENTQRY trigger at the form level add the following code :
    GO_BLOCK('dept');
    CLEAR_BLOCK(no_commit);
    ENTER_QUERY;Hope this helps...
    Regards,
    Amatu Allah

  • Stacked canvas dispalying problem

    hi am displaying multiple stacked canvas on a content canvas. i have a problem in displaying them even hiding the first canvas(B) am not able to display the second canvas(A) its still showing the first canvas(B).
    am using show_view(A) to display the stacked view while i use hide_view(B) to hide the canvas B
    almost both the stacked canvas have same fields in particular i kept the mirror fields on the stack B from stack A.
    my requirement is to display stacked canvas A or B dynamically!!
    can any one direct me with some gud solution.
    thanks in advance.
    regards,
    madhan

    Hi Madan,
    You are using correct function to do so. But you may need to manipulate.
    When you want to show canvas A or B, follow the mentioned steps:
    If you want to hide B and show A
    IF canvas b is visible then
    hide_view(B);
    show_view (A);
    go_Item (item_on_cavans A)
    END IF;
    And vice versa.
    Cheers
    Ram

  • Validation vs Stack canvas on tab page

    Hi,
    I have a problem about how to show/hide view when validation was triggered.
    My situation is:
    - I have a 3 pages tab-page. On the first tab, I have a stack canvas. I have codes to show the canvas at When-new-form-instance and show/hide the view at When-Tab-page-change.
    Problem:
    - I click on the third page and enter something wrong values on a field and then I didn't go to another field, click the first page directly.
    The oracle form shows the first tab without the stack canvas and the error message popup at the same time.
    - We have a backend procedure which is used to give the error include the Raise form_trigger_failure. When the validation is fail, this procedure will be called to give the error message. It is a standard procedure so we must use it.
    - I tried to Show_view before or after the error message, but it cannot help.
    Question:
    Is there any method to help this problem? Thanks for advance..
    I am using Forms10g.
    Regards.

    Another solution without a timer :  You can use the WHEN-TAB-PAGE-CHANGED-Trigger to handle the change of a tabpage.  And here, before you navigate to another tabpage, you can use the built-in ENTER to start the validation before the next tabpage is displayed.+When-tab-page-changed runs AFTER the tab page has switched. If you run validation from it, you will need to check if the validation failed, and then go back to the prior tab page.
    Also, the Validate built-in is a better method to cause validation to occur.

  • Urgent: Stack Canvas in Tab canvas

    Hi,
    I have a very urgent requirement. Please help me solving this.
    I want to have One tab canvas which has three tab pages.
    On the First Tab i want to fetch the data from some table say XX_CUSTOM_TABLE.
    Now, This should be displayed in Tabular format with Horizontal and vertical scrolling as the table has many columns.
    Please give me step by step instructions so that it could be implemented quickly.
    P.S : I am using Oracle forms 6i.
    Thanks in advance,
    Yadnesh

    Hi,
    1. When i open the form only the fields added in the tab canvas are visible.
    Where u have drawn the stack canvas,you need to create in the main canvas where ur tab canvas is there and u need to drag it to tab canvas.Have u created the trigger when tab_page_changed?
    2. when i change the tab page from tab 1 to tab 2 and then again get back to tab 1, then the stack canvas fields are visible and the fields in tab gets invisible.
    Just place the stack canvas correctly after the fields in tab page 1.
    3. The stack canvas is not horizontally scrolling.
    Just go to the property palette of stack canvas and make yes to both horizontal and vertical to yes.
    Do i have to create a stack canvas separately? and then how do i drag it into tab canvas. i am still not getting this. because.
    when i open the tab canvas page i do not find the stack layout so that i can drag it like a normal text item.
    Yes u need to create a stack canvas separately. Just open the Mani canvas the tab pages are there, then in that click the stack canvas icon and create a stack canvas and create all the fields, and move the stack canvas to the tab page. And u need to create a when tab page changed trigger at form level.
    Regards
    Sri

  • Stacked Canvas Problem in oracle 6i form builder

    Hello,
    i have 2 content canvas "DTL and PUNCH",1 tab,1 horizontal canvas in window1 and 1 another content canvas "parameter" in window2.
    i have created a stacked canvas under dtl canvas because
    I have a master-details form. my details has more columns so im planing to use stack canvas.
    but at run time it is not displaying?
    please help me regarding that?
    Thanks
    With Regards
    Vishal Agrawal

    hello,
    then you should set viewport x and y position of stack canvas below the height of button in DTL block.
    means If button y position = 170 then
    viewport position of x = 5,
    viewport position of Y = (y position of button + height of button+5) . (for Stack canvas)
    Same way,
    If stack canvas height = 270 then
    viewport position of x = 5,
    viewport position of Y = (viewport position of Y of stack canvas + height of stack canvas+5) . (for Tab canvas)
    PS

  • Stacked canvas on one convas!!??

    if i have two content canvases and one stacked canvas at the same window ,is it possible to display this stacked canvas at only one specific canvas at this window ??

    Hi TERMI
    Yes it's possible , Here is an example ...
    Pls create a button in ur content canvas in this button pls write the following as an example...
    SHOW_VIEW('STACKED_CANVAS');
    GO_ITEM ('item_name'); -- Pls note this item should be navigable and visible in ur stacked canvas form
    HIDE_VIEW('CONTENT_CANVAS');
    In order to return back to ur content_canvas pls create a button in ur stacked canvas in WHEN-BUTTON-PRESSED Trigger
    pls write the following...
    HIDE_VIEW('STACKED_CANVAS');
    SHOW_VIEW('CONTENT_CANVAS');
    GO_BLOCK('EMP');
    GO_ITEM ('EMPNO'); -- Pls note this item should be navigable and visible in ur Content canvas form
    Hope this helps...
    Regards,
    Abdetu...

Maybe you are looking for

  • Error while installing Oracle 11g R2 RAC

    Hi, I am getting following error while trying to provide Oracle software locatio. [INS-20702] Unexpected Internal driver error Cause - A call to cluster verification utility failed. Following are the steps i have followed: 1. Using NFS mount created

  • Photo Page with lots of pix - any way to jump to the last page?

    I have a photo album with 112 pix in it, and it's set to display 21 photos per page w/ 3 columns. This makes for a total of 6 pages. The way the page navigation shows up, at least in Safari, is as follows: < 1 2 3 4 > Oddly, in iWeb it shows: < 1 2 3

  • Question on Passing URL Parameters

    Thanks in advance for any responses to this question! I have a dynamic table (in a master page using javascript and asp) that links to a detail page, passing a parameter (the ID of a product) to identify the correct row to display in the detail page'

  • BAPI or FM to create/update variant configuration

    Is there a BAPI or FM to create/update variant configuraion? There is one for sales order BAPI_SALESORDER_CREATEFRONDAT1 to create VC while creating SALES order. How do you do create VC while creating PO? Thanks.

  • Video slow when editing

    I recently built a new PC and installed Premiere Elements 8.  It ran sufficient on my older PC, but I thought if I built a faster/better machine my life would be much better. Here are the ciritical parts: CPU                           Intel I5 2500K