Tab Canvas Navigation

Hello,
In the form I have 2 blocks, Activities and Parts, both split between 2 tabs.
On tab1 I have the blocks' items and on tab2 the mirrors of them which synchronize with main items.
Now, when I move from one block to the other the tab page changes.
I store block and tab page into parameters and set them at runtime time accordingly in the validation, delete/insert recs triggers, so It pretty much stays on the right page, but sometimes when I move up and down, or when no validation occurs the tab page changes.
Plus, if I use timers(ugly method) for go_item in validation triggers the focus is not going where I instruct. I know the focus is lost on When-Timer-Expired trigger, but why is not executing go_item, or better said is going to the item but I have to press a key to see the focus?
Any idea would be appreciated to help me fix this nasty navigation.
Thanks,
Monica

Now that I renamed my tab1 as 3, upon entering the block it is first navigating to tab3.The form doesn't navigate to a tab, it navigates to the "focused" item, means the item where the cursor is placed on. So, if you want another tab to shown by default, you have to order the items in your block so that the first navigable item is visible on tab1.

Similar Messages

  • Multi-Tab Canvas Navigational Controls

    I want to control navigation out of a block displayed on a "tab" canvas to other "tabs" in a form containing multiple tab canvases. Are ther any "events triggers" associated with the "tab" level similar to the "WHEN_BUTTON_PRESSED" trigger such as "WHEN_TAB_SELECTED"?
    I assume I must place the triggers on the block (or blocks) associated with the respective tabbed canvases.
    null

    The trigger must be placed at the form level. Use "if :system.cursor_block = 'BLK'"
    to code for each tab.

  • Tab canvas, tabs navigation

    In my tab canvas, for some reason, I had to make my tab1 as tab3 now. I want the users to be able to navigate
    in the normal order tab1,2,3 (as they are laid out in the object navigator). Now that I renamed my tab1 as 3, upon entering the block it is first navigating to tab3.
    Is there a way/place to specify the order or tab navigation at design time?
    Thanks,
    Chiru

    Now that I renamed my tab1 as 3, upon entering the block it is first navigating to tab3.The form doesn't navigate to a tab, it navigates to the "focused" item, means the item where the cursor is placed on. So, if you want another tab to shown by default, you have to order the items in your block so that the first navigable item is visible on tab1.

  • Tabbing (Next Navigation Item) to different frames/datasets on a canvas?

    How can I set the tab order to tab between frames on my form? In the properties palette for an item, the Next Navigation Item field, I can only choose items in the same dataset. What if I wanted to mix and match the fields from say 2 different datasets so they show up together in a frame and have consistent tabbing?
    Also, I have set up a join relationship between 2 datasets on a canvas but when I insert record it only inserts 1 set and not the info from the other but when I query info that was already in the dataset it shows up fine on both sets??? Please help. Thanks alot

    To achieve cross-block navigation, here is what I do:
    For forward tabbing as well as automatic skipping to same field, create a hidden navigable item following the item, and on that item, create a when-new-item-instance trigger with a go_item command. (For hidden navigable, it must be on the same canvas. Just set its height and width to zero.)
    For shift-tab (reverse navigation), use a key-prev-item trigger on the second item with a go_item back to the first item.

  • Tab canvas color

    Hi,
    I had a form with content/stacked canvases and I converted all of them to tab so that it would be much easier for the users to view. Everything's working fine but somehow the color of all the canvases has changed to light gray. Earlier my canvases were teal (which is by default in 10g). I want to keep the default color i.e. teal, how can I do that?
    Thanks in advance.

    You can set all or some of the tab canvas's pages the background color you wish:
    Open the object navigator , and all the tab pages of the tab canvas.
    Right - click on each one - or press F4 - to activate the property palette. Change the background color as you like....
    Note: you can do this in just one click..... You simply select the tab pages and preesing F4 you alter the background color.....
    Greetings.
    Sim

  • 11g Forms Tab-Page Navigation

    I am using Forms 11g on Solaris.
    A main navigator form opens another form which has a content canvas, tab-page canvas and (3) stacked canvases.
    The problem I am having is with tab-page navigation.     CTRL+TAB ( next ) and CTRL+SHIFT+TAB ( previous )
    As long as I do not initiate navigation from an item on a stacked canvas, navigation is as expected ( between tab pages only ).
    However, navigating from an item within a stacked canvas causes navigation to the parent form.
    Repeating the tab navigation keys from the parent form returns to the called form.
    Note that both key-combinations simply toggle back and forth.
    I have found no documentation on tab-page navigation so any help / insight is greatly appreciated !
    Mike

    Hi Soofi !
    Changing block order in the called form does not affect the navigation between tab pages.
    Note in my question that the resulting undesired navigation is to and from the calling form ( which only has one block ).
    Navigation between items and blocks works as expected.
    To reiterate -
         The only navigation that fails is when I attempt to CTRL+TAB or CTRL+SHIFT+TAB to another tab page from within an item on a stacked canvas.
         Attempting this navigation results in moving the cursor focus to the calling form.
         Repeating the attempt from the calling form moves back to the called form.
         None of your methods mention navigation between forms .
    Thanks for your interest.

  • How to change the number of  tab in a Tab Canvas?

    hello :)
    any answers please ?

    user9068133 - Posted: Nov 3, 2010 2:42 PM yes , it works very well on forms 10g, i know that is not a big problem but what can i do ! i have searched on google how to do that but i didn't find nothing .>
    What exactly did you search for on Google? What is "that"?
    Are you trying to add more tab pages to a Tabbed Canvas from the Forms Builder? If so, user13390506 is sort of right. Click on the "Canvases" node of the Object Navigator press the *<font color="green">green + </font>* button to add a new "Content" canvas to your form. Now you need to open the property pallet of the new canvas and change the "Canvas Type" property to "Tab." You will notice that the icon of the new canvas you created in the Object Navigator has changed. Click on the + node next to your new "Tab" canvas to reveal the "Tab Pages" node. Again, open this node (by clicking on the +) to reveal the individual tab pages. By default, Forms will create two tab pages. You can add a tab page in the "Tab Pages" node by clicking on the node and then clicking on the + button. To remove a tab page from the "Tab Pages" node, click on the tab page you want to remove and then click on the *<font color="red">red -</font>* (minus) button.
    If you are trying to add a new tab page during the Form runtime - as I mentioned before - this is not possible.
    Also, what is your Forms version?
    Hope this helps,
    Craig B-)
    If someone's response is helpful or correct, please mark it accordingly.

  • Tab canvas on the main window

    I have placed some items of the block on the tab canvas but ID is on the content canvas. When the query is executed. the tab canvas only appears when the navigation is transfered to the first item in the tab canvas. I want that at runtime. The tab canvas should appear irrespective of the navigation.. Could somebody help me with that

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Bogdan Dincescu ([email protected]):
    Use
    go_item(item_on_your_tab_canvas);
    Best of luck.<HR></BLOCKQUOTE>
    Thanks a lot. u just gave me another idea too
    null

  • Tab Canvas Nevigation

    Hi All
    I have a tab canvas with four pages and in this form there is four block and one block on each canvas page. I want to navigate the cursor position to the first item of the active page. suppose if i click on tab page one so the cursor should go in the first item of the first block and if i click the second page so the curson should go to the first item of the second block . if i click the third page so the curson should go to the first item of teh third block.
    can any one help. How i have to do?
    thanks in advance
    zafar

    Here is an extract from the code I use. It has the additional step of handling enter query mode and also shows how to 'fail' the tab navigation (warnmess is just a procedure I use to display an alert). Be aware that it is also possible to change tabs using next-block, which does not fire this trigger, so any code which should fire on arrival in a block should not be included here but should be put in when-new-block-instance.
    declare
    toptab varchar2(100) := get_canvas_property('tabcanvas',topmost_tab_page);
    begin     
    -- cannot fail this trigger to stop navigation - have to navigate back
    if :system.mode = 'ENTER-QUERY' then
    set_canvas_property('tabcanvas',topmost_tab_page,:system.tab_previous_page);
    warnmess('Cannot change tabs in query mode');
    else
    if toptab = '...' then
         go_item('...');
    elsif toptab = '...' then
         go_item('...');
    end if;
    end if;
    end;

  • FRM-40202 and mandatory items on a multi-tab canvas

    Hi all !
    Short technical question for you guys : let's say that I have datablock whose fields are displayed on different tabs of a same tab canvas. Now, let's say that two fields of this datablock are defined as mandatory : one on the first tab, the other on the last.
    My problem is that my form doesn't behave correctly :
    Good behavior -> After creating a record on the first tab without filling the mandatory record of the last tab, if I try to create a new record => I get a FRM-40202 error, and Forms forces me to fill the mandatory field of the last tab. Nice.
    Bad behavior -> After creating a record on the first tab, I try to go to the last tab by clicking the appropriate tag name in order to fill the mandadory field => I get a FRM-40202, and Forms leaves me on the first tab, unable to fill in my record properly. I thought that as long as I wasn't leaving my record, I wasn't supposed to get a FRM-40202 error...
    How would you deal with this kind of error ? How can I get this kind of error while not leaving the record ?
    Thanks for your ideas and your help
    Regards,

    Hi,
    are you sure you're not navigating to another record or block? (or trying to save...) Make sure it enabling debugging messages or tracing it...
    The error message in thiscase is clear...
    Regards,
    Jose L.

  • Detail Window of a Tab canvas

    I have a tab canvas with one tab filling up the whole tab page with 15 horizontal line, but the last column is a detail button which I want to see additional info for that line,
    should I add rowid for that block - to select that row when I press the detail button??
    Do I use a stacked canvas or a content canvas?
    Do I need a new block for that detail info and use a post query from the 1st block to populate the second block??
    Any insight would be helpful
    Thx

    Since you are so set on the post-query method, do this:
    Do NOT use a post-query. Just create one or more additional items in the same block that are assigned to a separate stacked canvas. Set these items singly-occurring (property Number-of-Items-Displayed = 1). Create a "Details" button in your block on the main canvas that user can click. All its WBP trigger needs to do is:
        Go_Item('Blk.Detail_Item');
    I don't think you even need a:
        Show_View('Detail_Canvas');
    On the stacked canvas, create a cancel button with a WBP trigger that does a Go_Item('Blk.<main-canvas-item>'). And make sure you cannot use the Tab or Enter key to navigate into the details canvas items (Set the appropriate Next-Navigation-Item properties).
    The above method is certainly the easiest. However, if for some odd reason, you don't want to fetch all the details for every record during the initial query, then you can use a different method. This one involves the same stacked canvas and details button. But use a control block and one or more items to display the data. In the WBP trigger, Select detail_columns into :Control_Block.detail_item where rowid = :base_table_block.rowid; and then Go_Item('Control_block.detail_item'); Control_block.detail_item is of course displayed on the stacked canvas.

  • Newbie Help - Tab Canvas with Multiple Pages, Arrow to Navigate between

    Hi All,
    I am developing my first form. It is a page that requires several pages. I have created a tab canvas and put the pages on (there are 10 pages). When i run the form, i can see the first 4 page headers, and cannot see the other headers. Is there a way to have a arrow at the top so i can click on it to move the display so i can see the other pages?
    How would this normally be done? What i am after is a similar multi page navigation to that in the assignment screen, or any oracle screen with several pages.
    many thanks
    Rupz

    Hi, thanks for your reply.
    If i press F2, a list of all of the pages appear, but i do not get any arrows.
    I have a single tab canvas with 10 pages on it. The pages fit on the canvas, but not on the display window. Do i need to modify the canvas in any way to get the navigation arrows to display?
    thanks
    Rupz

  • How to move a block from Content to Tab Canvas?

    Hi All,
    I've make a master and detailed blocks in an content canvas
    Now this master block has another some detailed blocks, How to put a tab canvas on this content canvas?
    that is if I created a new tab canvas it will appear in another page not in the content canvas!

    Is the Tabbed Canvas larger than the Content Canvas? Also, just to clarify, when you created the tabbed canvas - did you draw the tabbed canvas on the content canvas in the Visual Designer? If you created the tabbed canvas by adding it to the Canvas Node in the Object Navigator and then set the appropriate properties to assign the window, x/y coordinates, etc., I've seen this cause unexpected behavior. It is better to draw the tabbed canvas on the content canvas rather than add it to the Canvas node through the object navigator.
    Hope this helps,
    Craig B-)
    If a response is helpful or correct, please mark it accordingly.

  • Tab canvas + post-forms-commit + form_trigger_failure

    Hi all,
    There is a tab canvas with eight tab pages in my forms.
    In the post-forms-commit form-level trigger there are controls based on some conditions before executing the processes. When the conditions in the controls are not met then a stop alert is shown and form_trigger_failure is raised. All of these actions , that is the alert and form_trigger_failure , are contained inside a procedure named affiche_erreur.
    The problem is that after pressing the alert button then forms goes to the first tab page. And the focus is on a non-navigable button ! Very strange !
    I trapped the form_trigger_failure exception in post-forms-commit , but untill now I do not find any way how to put the focus in a specific item.
    So how to put the focus into a specific item or a specific tab page ?
    Thank you very much indeed

    Mark , the when-tab-page-changed trigger does not fire after I pressed the alert button although the focus goes always to the non-navigable button in the first tab-page. I wrote a pause statement at the beginning of the when-tab-page-changed trigger but there was no pause alert at runtime.
    Finally I created a timer in the exception of the post-forms-commit trigger which catches the form_trigger_failure exception , and in the when-timer-expired trigger I wrote go_item.

  • How to use stack canvas in tab canvas in oracle forms

    hi all,
    how to use stack canvas in tab canvas in oracle forms. please if any one help out in this.

    Hi
    u can simply create a button in ur tab canvas in this button pls write the following as an example...
    SHOW_VIEW('STACKED_CANVAS');
    GO_ITEM ('SAL'); -- Pls note this item should be navigable and visible in ur stacked canvas form
    HIDE_VIEW('TAB_CANVAS');In order to return back to ur tab_canvas pls create a button in this button pls write the following...
    HIDE_VIEW('STACKED_CANVAS');
    SHOW_VIEW('TAB_CANVAS');
    GO_BLOCK('EMP');
    GO_ITEM ('EMPNO'); -- Pls note this item should be navigable and visible in ur stacked canvas form
    Hope this helps...
    Regards,
    Abdetu...

Maybe you are looking for

  • Firefox crashes when I try to use it with Windows7

    I have sent crash reports and heard nothing back. HELP!!! Release me from IE!!! Please! Firefox won't even come up on my screen, just says it's crashed and a report will be sent. I've re-installed it 2X now, and it still won't work. It worked just fi

  • Cannot seem to connect an external monitor

    Hello all, I have connected my DV camera (Canon XM1) via firewire to G5. Camera set on VCR mode and it's connected (just like as in the manual) I can easily capture from camera and when I do "edit to video" it works and shows my footage on tv. Howeve

  • Same WITH used in many SQL statements

    Hi, I have a need to use the same WITH clause in many places of my code. Is it ever possible to code without writing the same code in every SQL which need my WITH? Thanks in advance.

  • I really needed this one implementation of tree table on mvc

    hi there i'm burning my as* reading some tutorials about tree table and all i found was a complex codes i just wanna know if you know some codes of a simple tree table where in the content of a tree or table was hardcoded and there are no thingy effe

  • Reg update

    hi all   UPDATE TABLE    zinv_header .                     SET    invoice_core      = p_perinv                               invoice_created  = inv_cnt                                username         = sy-uname                               systemdat