Stacked canvas dimentions problem

Hello
Why if i had used an inherited stacked canvas and tried 2 change the height and width of it ...
it doesn't change it remains with the same size,can any body answer me why it behaves like this...!?
Thanks in advance,
Regards,
Abdetu...

Abdetu,
am getting a compilation error says: identifier 'viewport_width' Must Be Declared I must apologize, I misread the Forms Help which lists "VIEWPORT HEIGHT" and "VIEWPORT WIDTH". What I failed to recognize was that there was no underscore "_" between the words. Therefore, these are Properties of the stacked canvas that can only be set through the property palette - not the SET_VIEW_PROPERTY built-in. Sorry! :8}
1. You have a Stacked Canvas that has a property class assigned to it or you subclassed the canvas into your form when you copied it from another form (like a template form).what is the difference i would like to know ?
>
The difference is where the source of the referenced propertes (property class) exist. For example, if you subclass the property class from a source Form (such as a template.fmb or an Object Library.olb) then the set of properties are dependent on the source object (.fmb or .olb) and you have to ensure the source object is in the FORMS_PATH. If you manually create the property class in the form there is no dependency on other objects. For the record, it is "Best Practice" to subclass Property Classes from a common source so you can standardize and reuse common sets of properties (as well as other shared objects).
Vertically half of The content of the canvas wasn't seen the other half was blank gray ...!!! e.g. can't scroll horizontally to see the rest of it...!!! So it is cutting off some of the items on the stacked canvas? For example:
Stacked canvas when viewed in Layout Editor
|---------------------------------------|
| Item 1[              ]                |
| Item 2[              ]                |
| Item 3[              ]                |
| Item 4[              ]                |
|---------------------------------------|
Stacked canvas when viewed during runtime
|---------------------------------------|
| Item 3[              ]                |
| Item 4[              ]                |
|                                       |
|                                       |
|---------------------------------------|Have you tried to copy the stacked canvas instead of subclass it just to what happens?
Craig...

Similar Messages

  • 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

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

  • Problem with Stacked Canvas

    Hi,
    I have prepared a stacked canvas on a content canvas.
    Both content and stacked canvas are based on the same data block. In the data block 2 items are on content canvas and the remaining are on stacked canvas. I have also a scroll bar on the content canvas so that we can scroll to the right as there are many items on it.
    so 1st and 2nd fields are on the content canvas and remaining ones are on stacked canvas.when i tab out of the 1st field stacked canvas goes invisible, but when i tab out of the 2nd field stacked canvas again comes back.
    How can i avoid this?
    I want the stacked canvas always to be displayed when i tab out from any where.
    One more problem is, when i click on the 2nd field the stacked canvas goes invisible too
    Your suggestions are greatly appreciated.
    Thanks
    Sandeep

    Check if the second item overlaps the area of the stacked canvas. Forms always makes the current item be displayed fully and therefore hides all areas which would overlap the item.

  • (another) stacked canvas on content canvas problem

    I've searched the forums for the last 2+ hours and can't find a solution for my problem, although there are hundreds of questions on this subject.
    I have a stacked canvas on top of a content canvas. The canvases share the same window. They also share a data block. I added radio buttons on the main canvas to "show/hide" the stacked (my ultimate goal is to have 2-3 stacked and toggle. When hide, the stacked canvas is hidden, but when i click show, it is not. I understand reading all the posts that the block with focus will display, and I've added both a go_block and go_item prior to the show_view. Below is my code. MEL_DETAILS is content and MEL_LINE_ITEM is stacked.
    IF :stack = 'SHOW_STACK' THEN
    GO_BLOCK('MEL_ITEM');
    GO_ITEM('MEL_ITEM.MIS_PROJECT_NO');
    SHOW_VIEW('MEL_LINE_ITEM');
    SET_VIEW_PROPERTY('MEL_LINE_ITEM', visible, property_true);
    SET_VIEW_PROPERTY('MEL_LINE_ITEM', display_position, 718, 583);
    SET_ITEM_PROPERTY('PROJECTS.STACK',MOUSE_NAVIGATE,PROPERTY_FALSE); -- radio button
    ELSif :stack = 'HIDE_STACK' THEN
    HIDE_VIEW('MEL_LINE_ITEM');
    SET_VIEW_PROPERTY('MEL_LINE_ITEM', visible, property_false);
    SET_ITEM_PROPERTY('PROJECTS.STACK',MOUSE_NAVIGATE,PROPERTY_TRUE);
    END IF;

    user12198246 wrote:
    I've searched the forums for the last 2+ hours and can't find a solution for my problem, although there are hundreds of questions on this subject.
    I have a stacked canvas on top of a content canvas. The canvases share the same window. They also share a data block. I added radio buttons on the main canvas to "show/hide" the stacked (my ultimate goal is to have 2-3 stacked and toggle. When hide, the stacked canvas is hidden, but when i click show, it is not. I understand reading all the posts that the block with focus will display, and I've added both a go_block and go_item prior to the show_view. Below is my code. MEL_DETAILS is content and MEL_LINE_ITEM is stacked.
    IF :stack = 'SHOW_STACK' THEN
    GO_BLOCK('MEL_ITEM');
    GO_ITEM('MEL_ITEM.MIS_PROJECT_NO');
    SHOW_VIEW('MEL_LINE_ITEM');
    SET_VIEW_PROPERTY('MEL_LINE_ITEM', visible, property_true);
    SET_VIEW_PROPERTY('MEL_LINE_ITEM', display_position, 718, 583);
    SET_ITEM_PROPERTY('PROJECTS.STACK',MOUSE_NAVIGATE,PROPERTY_FALSE); -- radio button
    ELSif :stack = 'HIDE_STACK' THEN
    HIDE_VIEW('MEL_LINE_ITEM');
    SET_VIEW_PROPERTY('MEL_LINE_ITEM', visible, property_false);
    SET_ITEM_PROPERTY('PROJECTS.STACK',MOUSE_NAVIGATE,PROPERTY_TRUE);
    END IF;Here, it seems two problem..
    The line..
    SET_VIEW_PROPERTY('MEL_LINE_ITEM', visible, property_true);
    and
    SET_VIEW_PROPERTY('MEL_LINE_ITEM', visible, property_false);No needed
    Hope this helps
    Hamid

  • Problem with generating stacked canvas in Designer 6i

    When I try to generate a master detail form, in which the detail block is placed on a 'new stacked canvas' the form is generated as expected: master- and detailblock are both created, but when running the form
    the detail block is somehow made invisible. I don't understand!!!
    Does anyone recognize this problem????
    Hope to hear from you!
    Alex

    Hello,
    When you put a block on a "new stacked canvas" that canvas is generated as a popup canvas. If that popup overlaps with some other generated items (for instance: items in master block) Forms will not show it.
    You can try showing that popup canvas programatically with Show_View('canvas_name') in When-New-Form-Instance and see what happens.
    Dalibor
    P.S. Why do you have to put detail block on a popup canvas? Why don't you simply put it on a "same content canvas"?

  • 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

  • Simple Problem with Stacked Canvas, I hope

    Hello all,
    I am become a bit frustrated with what I thought would be a simple form development solution. I am trying to create a form with a stacked canvas that will display about 20 fields that can be scrolled through. This is the detail
    Total of 25 fields
    5 Fields on the content canvas
    20 Fields on the stacked canvas
    I created the first canvas that originally contained all 25 fields. Then I created the stacked canvas and moved the appropriate fields to the stacked canvas. Using the forms builder editor, I positioned my stacked canvas as such so that it would not overlap the last field on the content canvas or visa versa. This is a form being developed for Oracle EBus. Whenever I run the form in the apps, the stacked canvas is not visible. It only becomes visible when the 1st field on the canvas has focus. When the stacked canvas becomes visible, it shows all of the items of the stacked canvas and not just the ones that I included in the viewpoint. Once I tab through the last field of the stacked canvas, it goes back to the first field on the content canvas and the stacked canvas disappears. At this point I am not doing anything complicated, but for whatever reason this just is NOT working. Any advice anyone can provide, I would very much appreciate it. This is VERY frustrating.
    Thank you in advance.

    Step No. 1
    Set the STACKED CANVAS's property VIEWPORT WIDTH AND VIEWPORT HEIGHT
    This property determines what viewable width and height of the stacked canvas at runtime.
    Set SHOW HORIZONTAL SCROLL BAR or SHOW VERTICAL SCROLL BAR or BOTH as YES so that you can scroll down to view all the items in the CANVAS.
    Step NO.2
    In your WHEN-NEW-FORM-INSTANCE trigger, write the code to make the canvas visible
    SHOW_VIEW('stack_canvas_name');

  • Stacked Canvas problem!! Urgent!!

    Hi all,
    I'm using a stacked canvas in my form (Forms 6).
    Is there any way to make a stacked canvas be there on the content canvas forever, coz Its automatically hidden whenever there is an alert popped up!!
    Very urgent.
    Tnx in anticipation
    Raju

    Its urgent, Plleeaaaase

  • Stacked canvas problem

    hi,
    i am using 2 stacked canvas on a same window. they are one above the other.
    but a black colored border is displayed around both of them as it is showing the viewport. background color is gray. i want to remove that border. or if possible then change the color of that border to gray. please suggest something..
    thanks...

    Hi.
    Just change the BEVEL property of stack canvas to plain no border will be display
    Rai Zeeshan

  • Problem in displaying stack canvas.....

    anyone plz help......
    First let me explain wat I hav done
    I have a form module with two canvas - one is of content type(Canv1) and another is stacked type(stack1).. In Canv1 there is a button (Click)
    in WHEN-NEW-FORM-INSTANCE trigger
    hide_view('stack1');
    in the WHEN-BUTTON-PRESSED trigger I hav given
    Show_view('stack1');
    hide_view('Canv1');
    but,when I run the form and click the button it is not displaying stack1 canvas
    Why?.....

    anyone plz help......
    First let me explain wat I hav done
    I have a form module with two canvas - one is of
    content type(Canv1) and another is stacked
    type(stack1).. In Canv1 there is a button (Click)
    in WHEN-NEW-FORM-INSTANCE trigger
    hide_view('stack1');
    in the WHEN-BUTTON-PRESSED trigger I hav given
    Show_view('stack1');
    hide_view('Canv1');
    but,when I run the form and click the button it is
    not displaying stack1 canvas
    Why?.....You don't need to hide your content canvas, just use show_view for the stacked canvas. and check the viewport height and width on your stack canvas properties.
    Tony

  • Go_item problem on stacked canvas

    Hello.
    I use stacked canvas in my form. On that canvas i have a button. User use this button to close stacked canvas. I use:
    hide_view('canvas_name');
    go_item('block.item_name');
    It seems as go_item is not working. Cursor only moves to the block and to the first item in that block.
    Why doesn't cursor move to item i choose?
    Thanks.

    Hello.
    It's still not working.
    And i'm not hidding first canvas.
    It is the main canvas. And on that canvas i press button to open small stacked canvas. And on that stacked canvas there is a button to close this canvas and to move cursor to one item on the main canvas. And that is not working. Cursor moves to the first block item on main canvas.

  • How to remove the black line from a stacked canvas at run time???

    Hi All,
    I've developed a stacked canvas within a content canvas, when I run the form the stacked canvas apeared with a black line takes it.
    How to remove this line or how to disappear this line at run time??
    I tried to do this by putting (no line) in tools palette to the line color tool after selecting the black line one and after selecting the stacked canvas another once, but this did not resolve the problem!
    I need something else:
    I put the stacked canvas at detail data block and it didn't appear since I execute query in master data block
    How to appear the stacked canvas directly before executing query in master data block???

    Hi,
    u mean the border line? In stacked canvas property, select contour/outline and set it to none.
    Make sure, the stacked canvas is behind the content canvas in the objectnavigator. Then check your
    properties of the stacked canvas:
    - Position on content canvas
    - size
    - size of clipping
    Set stacked canvas property automatic visible to yes.
    Make sure the stacked canvas is not overlayed by other stacked canvas or items.
    Attackwave

  • Stacked canvas behaviour 6i c/s

    hi,
    My form has two canvases.
    1. content in own window
    2. stacked content in own window( which is only 5 cm by 5cm wide and does not cover content when called.
    COntent canvas and window are maximised in when-new-form-ins trig.
    The problem i am getting is when I call stacked can in its own window from content can via button my content canv
    resizes itself enough so that scroll bars appear.
    So that when i exit stacked can i have to maximise the content to such a state as when I first run the form.( all coded in when-new-form-ins) i.e dbl click on win title bar.
    Does anyone know if this is default functionality or is there something I need to set ?
    thanks.
    n

    hi tony
    sorry for not making it very clear...
    So you want to Press a button, go to a stacked canvas, pause and accept input on that canvas, then proceed to do some calculations, and all of this on >one button?what you understood up to the bold marked area is correct. after getting the input in stacked canvas the user press a back button there to hide and come out. The calculations are on the content canvas button itself...( which is used to display the stacked canvas)
    Kris

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

Maybe you are looking for

  • In BC how do you display fields between 2 web apps

    I have successfully connected two web apps by creating a 1 to 1 relationship between my two web apps Article and Author. So, when a user is on the details page of my Article, they see the Authors info. But, now, I need to do the reverse..create a pag

  • What's a good hardware set up for a solo musician? USB pedal USB keyboard audio interface MIDI interface?

    I am new to Main Stage. I have not bought any hardware interfaces yet because I don't know what will be the most flexible in the long run. I would be using the Main Stage's innate synths and keyboards, drums, an acoustic/electric guitar, bass, harmon

  • Java SE 6 update 1 swing apps run slow

    When I first installed JDK6/JRE SE 6, Netbeans 5.5 and 6 (M9) ran beautifully. All GUI Java applications were quite responsive, and I never noticed a speed issue. However, last week Netbeans started running slowly. You could practically see the entir

  • Where is the GPS data in Bridge?

    Shot 93 today and have GPS data in camera but can't find how to view GPS data in Bridge. I have selected show GPS data in Preferences but no data is showing up. Any ideas?

  • OS X 10.8.5 and printer errors

    I have OS X 10.8.5 with a Dell 2150cn Printer, but receive the error message "Printer does not support IPP/2.0. trying IPP/1.1" when attempting to print a document. What do I need to do to make the connection work?