Problem using tab canvas

I am creating a form which has 2 canvases . The first one is a content canvas . The second one is a tab canvas . The problem is that at run time ,I need to click the "next block" button to get the tab canvas . It should have appeared below my content canvas to be correct . What do I need to do to solve this problem ? Thanks.

How did you create your canvases? Did you create them separately and then through the properties of the Tab Canvas tell it where to be displayed? If so, this could be problematic. The best option I've found is to create your content canvas and then - using the Tools pallet on the left of the canvas screen - select the Tabbed Canvas button and draw the tabbed canvas on the content canvas. This ensures your tabbed canvas "fits" properly on your content canvas and gets displayed automatically during run-time.
If this doesn't solve the issue, let us know a bit more details about how you created the canvases and we should be able to help you figure out a solution.
Craig...

Similar Messages

  • Focus problem in TAB Canvas form

    Hi
    I am calling FormB from FormA by using
    CALL_form('FormB.FMX',NO_HIDE);
    But when I click on the any other field ( other than the first field in the called Form ), the screen is becoming blank, again I need to click on the Execute Query button, but after that I can click on any other field it wont go invisible.
    FormB has TAB canvas
    Oracle & Form Version Oracle 10g
    THanks in advance

    Hi,
    When I run the form directly also I am getting the same problem,
    Hi Tony,
    <<Define what's blank??? Errors???? >> means , I need to click on the execute query button to see the data, even to see the controls in the forms.
    As I said, i am calling this form from another form, and I am assign the values in the prequery, I am gettign the result propery, but when I click on any other control, the form become empty, I need to click on exec query to see the values and tex items etc.
    This form has one content canvas and one tab canvas.  What are the properies to set to place tab canvas on the content canvas.

  • How I use tab canvas

    Hi master
    Sir
    I have one master and multi detail table and I need use the tab canvas
    How I use that and how I manage thate
    please give me idea
    thanking you
    Aamir

    Aamir,
    I notice that you're asking many questions relating to developing and running forms using Oracle Forms directly. This forum is meant for Oracle Designer questions. You will get better responses to your Forms questions by posting them to the Forms OTN forum (Forms
    Also, please remember to provide complete information when you ask your question.
    - Suresh

  • Integrating mutiple forms into one form using tab canvas

    Hi everyone,
    I'm relatively new to Forms 6.0 and also to this discussion. Could somebody please explain the pros/cons while integrating 8 maintenance forms into one form(Each page in the tab canvas representing one form)?
    Any help will be greatly appreciated.
    Thanks
    Aruna

    If the maintenance forms are small, you can integrate them into a single form with a tab canvas, although 8 may prove difficult--try it and see what it looks like to have eight tab pages. Make sure the first block and field in the form navigator is the field you want to show at startup.
    You would use multiple forms (1) to modularize largish chunks of complex code that don't interact with each other (2) to decouple logically separate applications (3) to decouple reusable modules that you can then pop into other applications (4) to create shareable components to share through an object library into base forms.
    In your case, the main issue is the logical separation with reusability also raising its head. Each form is logically distinct for maintaining a specific set of tables, so putting it in a separate form makes sense. It would also allow you to reuse the maintenance forms in different applications without including everything. This might be a security issue, for example--some apps might need access to only some of the 8 forms.
    Tab pages are also not as easily formatted as you might like, so check it out before assuming that tab page interfaces in Forms are your solution.

  • Tab canvas with required fields (problem)

    hi,
    I am using tab canvas with 5 tabs with diff blocks.
    receive
    issue
    adjust
    return
    view
    some fields are required in all tabs.
    when i run the form and in RETURN TAB and enter some data and click the save button the cursor goes to receive tab and focus the required fields with a message
    FIELD MUST BE ENTER
    same for issue tab also...
    i dont want to enter any thing there ..
    how i manage it
    thanks

    Not sure if I understand you correctly. You say some fields are required in all tabs, but also that you 'don't want to enter anything here'. Do you mean that the fields are required, but only if you're entering data on that specific tab? I.e. you don't have to enter all of the tabs.
    If that's the case, are all the tabs based on the same block, or different blocks?

  • Created a tab canvas inside a content canvas, but i can't create a new ...

    i created a tab canvas inside a content canvas, but after that, i want to create a new empty canvas by clicking the canvas node ,then "+" , but it always gave me a new canvas with the tab canvas in it as default. this problem happens when i use tab canvas , if i just use other items i.e. text, button,list, i can create a new empty canvas. Thanks.

    I don't quite understand the steps you took to be able to recreate the problem. But you can change the canvas type of a canvas from the property palette.

  • Scroll in a tab canvas

    I have a master fixed horizontal toolbar
    attached to a 2 page tabbed canvas.
    The first page is a detail block of say 5 records displayed vertically.
    How can I add a scroll bar verically to scroll tru my columns as there are lots some 20 columns for the first tab page only.
    Or is it that I should not condider using tab canvas?

    You need three canvas.
    1) A tab canvas as the one you have built.
    2) second canvas on top of page 1 of the first one , and you built you first block with vertical scroll bar on it
    2) a 3rd canvas on page 2 of the first canvas.
    You should have a scroll bar with you click tab1 and hide scroll bar when you click page 2 tab.
    null

  • Tabbed canvas

    hi,
    I am using tab canvas in a form.
    there are 2 tab pages.
    the tab page has a border kind of thing, of black color.
    this black color i want to change to gray or remove that completely.
    please suggest something...
    regards
    Panther Hawk

    Hi ,
    Select the page or all pages you want to change its/their color(s) , in the object navigator window.
    Right click on their icon-name and select property palette.
    In the property palette window , select the foreground/background color as you want....
    Greetings,
    Simon

  • Tabbed canvas. What is trigger for execute_query?

    Hi!
    I use tabbed canvas. When i choose Tab WHEN-NEW-BLOCK-INSTANCE
    didn't triggered. I get data only when i click on any control
    within canvas. How to do it automaticly?

    I use this method (Forms6i patch4 - 6.0.8.13.0):
    In a when-tab-page-changed trigger on form level there is:
    IF :SYSTEM.TAB_NEW_PAGE = 'CG$M_TAB_1_PAGE_1' THEN
    GO_BLOCK('NAKLADY_UKAZ');
    UROB_QUERY_UKAZ;
    END IF;
    In a when-new-block-instance on block level (NAKLADY_UKAZ)
    there is:
    BEGIN
    UROB_QUERY_UKAZ;
    END;
    UROB_QUERY_UKAZ is a program unit in which I modify and set
    where clause of block NAKLADY_UKAZ and use execute_query if
    there are some changes in the where conditions. Instead of this
    program unit you can use only EXECUTE_QUERY built-in.
    I hope this will help you.
    Helena

  • I can't use tabbed browsing with my VPN and Intel iMac

    I had no problem using tabbed browsing (with Safari) when connecting to
    my virtual private network (go to my pc), when I used my iMac G5. Now that
    I'm using an 'Intel' iMac, when I tab back to my VPN, it defaults to my log in
    screen. I've checked my Safari settings, and they're all the same as my iMac
    G5. Does anyone have any suggestions?
    Thanks,
    Paul

    It works now...

  • Continuing from using a canvas in tab item

    I asked about inserting a canvas into a tab item and ws given an answer which helped sort the problem , howvere i have hit another problem , the code is
    using System.Windows.Media.Imaging;
    using System.Windows.Navigation;
    using System.Windows.Shapes;
    namespace WPFDynamicTab
        /// <summary>
        /// Interaction logic for MainWindow.xaml
        /// </summary>
        public partial class MainWindow : Window
            private List<TabItem> _tabItems;
            private TabItem _tabAdd;
            private Canvas canvas1;
            public MainWindow()
               try
                    InitializeComponent();
                    // initialize tabItem array
                    _tabItems = new List<TabItem>();
                    // add a tabItem with + in header
                    _tabAdd = new TabItem();
                     canvas1= new Canvas();
                    _tabAdd.Header = "+";
                    _tabAdd.MouseLeftButtonUp += _tabAdd_MouseLeftButtonUp;
                    _tabItems.Add(_tabAdd);
                    this.AddTabItem();   // add first tab
                    // bind tab control
                    tabDynamic.DataContext = _tabItems;
                    tabDynamic.SelectedIndex = 0;
                catch (Exception ex)
                    MessageBox.Show(ex.Message);
            private TabItem AddTabItem()
                int count = _tabItems.Count;
                // create new tab item
                TabItem tab = new TabItem();
                tab.Header = string.Format("Tab {0}", count);
                tab.Name = string.Format("tab{0}", count);
                tab.HeaderTemplate = tabDynamic.FindResource("TabHeader") as DataTemplate;
                // add controls to tab item, this case I added just a canvas
                Canvas canvas = new Canvas();
                canvas.Name = "canvas";
                Canvas canvas1 = new Canvas();
                canvas1.Name = "canvas1";
                // defining the background color of "canvas"
                switch (count)
                    case 0:
                        canvas.Background = Brushes.Green;
                        break;
                    case 1:
                        canvas.Background = Brushes.Red;
                        break;
                    case 2:
                        canvas.Background = Brushes.Blue;
                        break;
                    case 3:
                        canvas.Background = Brushes.Yellow;
                        break;
                    case 4:
                        canvas.Background = Brushes.Brown;
                        break;
                    case 5:
                        canvas.Background = Brushes.Orange;
                        break;
                    case 6:
                        canvas.Background = Brushes.Olive;
                        break;
                    default:
                        break;
                // Canvas_Paint defines the background color of  "canvas1"
    // XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
            //    tab.Content = canvas;     // ORIGINAL (commented out) to populate tab.Content with canvas
                Canvas_Paint();
                tab.Content = canvas1;      //  NEW to populate tab.Content with canvas
    // XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
                // insert tab item right before the last (+) tab item
                _tabItems.Insert(count - 1, tab);
                return tab;
            private void _tabAdd_MouseLeftButtonUp(object sender, MouseButtonEventArgs e)
                TabItem newTab = this.AddTabItem();
                // clear tab control binding
                tabDynamic.DataContext = null;
                // bind tab control
                tabDynamic.DataContext = _tabItems;
                tabDynamic.SelectedItem = newTab;
            private void Canvas_Paint()
                int count = _tabItems.Count;
                switch (count)
                    case 0:
                        canvas1.Background = Brushes.Green;
                        break;
                    case 1:
                        canvas1.Background = Brushes.Red;
                        break;
                    case 2:
                        canvas1.Background = Brushes.Blue;
                        break;
                    case 3:
                        canvas1.Background = Brushes.Yellow;
                        break;
                    case 4:
                        canvas1.Background = Brushes.Brown;
                        break;
                    case 5:
                        canvas1.Background = Brushes.Orange;
                        break;
                    case 6:
                        canvas1.Background = Brushes.Olive;
                        break;
                    default:
                        break;
            private void tabDynamic_SelectionChanged(object sender, SelectionChangedEventArgs e)
    and the xml is
    <Window x:Class="WPFDynamicTab.MainWindow"
            xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
            xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
            Title="Dynamic Tab" Height="300" Width="527" WindowStartupLocation="CenterScreen">
        <Grid>
            <TabControl Name="tabDynamic" ItemsSource="{Binding}" SelectionChanged="tabDynamic_SelectionChanged">
                <TabControl.Resources>
                    <DataTemplate x:Key="TabHeader" DataType="TabItem">
                        <DockPanel>
                            <TextBlock Text="{Binding RelativeSource={RelativeSource AncestorType=TabItem }, Path=Header}" />
                        </DockPanel>
                    </DataTemplate>
                </TabControl.Resources>
            </TabControl>
        </Grid>
    </Window>
    The problem is when i use the Canvas "canvas" with the canvas pouplated within the method  all is ok  , however using "canvas1" where canvas1 is populated in Canvas_Paint 
    "canvas1" has null entries. How can I set the background colour in the tab using Canvas_Paint. Can the canvs be put in the XML? I hve simplified the problem from a much more complicated one in order to highlight the problem
    steve

    >>I asked about inserting a canvas into a tab item and ws given an answer which helped sort the problem , howvere i have hit another problem , the code is
    Please close your previous threads by marking helpful posts as answer before starting a new one. And please only ask one question per thread.
    >>How can I set the background colour in the tab using Canvas_Paint?
    You never set the Background of the canvas1 that you create in the AddTabItem() and use as the Content of the TabItem. Just remove this line from this method:
    Canvas canvas1 = new Canvas();
    ...and you will see the background:
    private TabItem AddTabItem()
    int count = _tabItems.Count;
    // create new tab item
    TabItem tab = new TabItem();
    tab.Header = string.Format("Tab {0}", count);
    tab.Name = string.Format("tab{0}", count);
    tab.HeaderTemplate = tabDynamic.FindResource("TabHeader") as DataTemplate;
    // add controls to tab item, this case I added just a canvas
    Canvas canvas = new Canvas();
    canvas.Name = "canvas";
    canvas1.Name = "canvas1";
    // defining the background color of "canvas"
    switch (count)
    case 0:
    canvas.Background = Brushes.Green;
    break;
    case 1:
    canvas.Background = Brushes.Red;
    break;
    case 2:
    canvas.Background = Brushes.Blue;
    break;
    case 3:
    canvas.Background = Brushes.Yellow;
    break;
    case 4:
    canvas.Background = Brushes.Brown;
    break;
    case 5:
    canvas.Background = Brushes.Orange;
    break;
    case 6:
    canvas.Background = Brushes.Olive;
    break;
    default:
    break;
    // Canvas_Paint defines the background color of "canvas1"
    // XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
    //tab.Content = canvas; // ORIGINAL (commented out) to populate tab.Content with canvas
    Canvas_Paint();
    tab.Content = canvas1; // NEW to populate tab.Content with canvas
    // XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
    // insert tab item right before the last (+) tab item
    _tabItems.Insert(count - 1, tab);
    return tab;
    Another approach bay be to pass the Canvas element to the painted to the Canvas_Paint() method by reference instead of using a class-level field:
    Canvas_Paint(ref canvas1);
    tab.Content = canvas1;
    private void Canvas_Paint(ref Canvas canvas1)
    int count = _tabItems.Count;
    switch (count)
    case 0:
    canvas1.Background = Brushes.Green;
    break;
    case 1:
    canvas1.Background = Brushes.Red;
    break;
    case 2:
    canvas1.Background = Brushes.Blue;
    break;
    case 3:
    canvas1.Background = Brushes.Yellow;
    break;
    case 4:
    canvas1.Background = Brushes.Brown;
    break;
    case 5:
    canvas1.Background = Brushes.Orange;
    break;
    case 6:
    canvas1.Background = Brushes.Olive;
    break;
    default:
    break;
    Please remember to close your threads by marking helpful posts as answer and please start a new thread if you have a new question.

  • Problem using a conditional suppress in a cross-tab ?

    is there a problem using a conditional suppress in a cross-tab on a row  or summarized field  in crystal XI?
    I am using the following conditional suppress on a summarized field and its rows
             If {@SortCode}=4 then true;
    Sortcode is a group sorting formula field
    the summarized field is a formula field as well.
    All of the summarized fields are suppressed although the cross- tab performs correctly on @Sortcode  and the summarized field when not using the condition        
    it seems to me to be a reporting flow issue although i've included "whileprintingrecords" and "evaluateafter" with no success.
    i have also moved the cross-tab from the report header to group header and applied a conditional suppress on the group header through section expert.
    this supresses the group i dont want but includes grand totals for each group and also varys the number of columns
    i can't filter on sortcode because one of the grand total calculations requires those records and a subreport or second cross-tab does not contain the same number of columns
    the cross-tab is necessary as a client may have columns spanning one to many pages
    thanks for your help

    Hi I have a similar problem,
    I have an clock in solution, where i have some dates with data such as, various entries for a date eg, 01/11/2010 1hr, 01/11/2010 3 hrs etc, 03/11/2010 2hrs , 05/11/2010 4.5hrs, 05/11/2010 4 hrs so i need total for each day and highlight only those days, where total is less than 4.5, including days which donu2019t have records eg 02/11/2010 & 04/11/2010, I summarise in totals using a cross tab, to get summarised output for each day as,
                Totals
    01/11/2010    4
    03/11/2010    2
    05/11/2010    8.5
    in order to get the dates which didnu2019t have records, i added a dataset from Excel spreadsheet where i just have a sequential dates for the year , and use record selection to select only those dates in range which i need to display, so the result i get
    01/11/2010    4
    02/11/2010    0
    03/11/2010    2
    04/11/2010    0
    05/11/2010    8.5
    so far so good, all using cross tab, now i want to suppress rows which have total > 4.5 so the result should be
    01/11/2010    4
    02/11/2010    0
    03/11/2010    2
    04/11/2010    0
    How can i do that?

  • TAB CANVAS PROBLEM

    hiiii
    in one of the tabs in a TAB CANVAS ... am trying to insert some fields into a table .. a simple insert statement ... BUT in each time i got in the message bar(UNABLE TO INSERT RECORD)
    and when i disply the error i got (ORA-00001: unique constraint (DIZZYLAND.ADMINS_PK) violated) ... the strange thing is that
    am not trying to insert in this table (ADMINS) ...
    AND the alert() appears ???!!!!!
    here is the procedure that is called in WHEN_BUTTON_PRESSED trigger
    PROCEDURE SEND_EMP_STD_COMM IS
    std_f_name varchar2(50);
    std_l_name varchar2(50);
    std_id NUMBER(4,0);
    ALERT_ID number;
    BEGIN
    select SID,F_NAME,LAST_NAME into std_id,std_f_name,std_l_name from student where user_name= :TEXT_ITEM777;
         insert into STUDENT_COMMENTS(
         SID,
         SENDER,
         SENT_DATE,
         COMMENT_TEXT,
         USER_TYPE
         values(
         3,
         :ADMIN_COMMENTS_BLOCK2.TEXT_ITEM776,
         TO_DATE(sysdate, 'DD-MON-YYYY HH24:MI:SS'),
         :ADMIN_COMMENTS_BLOCK2.TEXT_ITEM778,
         'A'
         commit;
         set_alert_property('CONFIRMATION_ALERT',alert_message_text,'Comment Has Been Sent Successfully To '||std_f_name||' '||std_f_name);
         alert_id:=SHOW_ALERT('CONFIRMATION_ALERT');
    END;
    *******************************************************************************************

    Consider the usage of the commit statement.
    It is possible that you are displaying the data in a form which is in insert mode.
    When you issue commit, the program may be trying to insert the data twice. Once at the form level and again at sql level. You can determine this using debug with a breakpoint set at the button press.
    My personal preference is to used forms_ddl( 'commit' ) to commit sql code and commit_form for forms. Generally, I avoid mixing the two when possible, for the reasons you describe.

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

  • Problems with using tab -button in application

    Hi all,
    I'm working on a game, using AS 3.0 and would like to use TAB -key in the game to do certain in-game actions. With Firefox,  Chrome and Safari it works without problems and focus stays in the app. With IE8 It also works fine on some cases but for example on my friend's machine, with IE8, it switches the focus from the app to address bar and other components. We both have up-to-date flash players. I've tried to search the net for solution without great results. Is there solutions for fixing this issue in or outside AS3.0 (like using javascript?) or any ideas what's the root of the problem?
    Thanks,
    Mike

    I Too am having problems with iBooks highlighting the entire chapter if I touch the right edge of a page.  It overrides my previous highlighting making my studying useles. It's terribly frustrating! iOS 8 has been a big,big problem. Apple has to fix this.  There should be a way to undo it.  It's a terrible mess.

Maybe you are looking for

  • No scroll bars in new iTunes update

    Very frustrating, as unable to see all my applications on one page. NO SCROLL BARS, and the keyboard shortcuts dont work either. No way to change to font or screen size. Not very helpful.

  • How to default value from popup page to main page.

    Hi, Requirement: I have a create page with table region of 10 lines.I have an icon for every line and on click of this icon, a popup window will be opened. In the popup window i have quantity field with a table region. User is allowed to select the q

  • Mailto: in Flash CS3

    Dear Sirs, I use Flash CS3 for making home pages. For movie clips, that are going be used for email, I use e. g. the following code: astamail_mc.addEventListener(MouseEvent.CLICK,astadown); function astadown(event:MouseEvent):void var request4:URLReq

  • SAPWebConsole - dropdown field works in ABAP but does not work on Web

    Hi All, I am writing an RF transaction in ABAP using regular dialog programming. My transaction works fine in the GUI. But it does not work OK when I access the transaction over the web (using IE) via SAPWebConsole. My issue is that on the SAPGUI I h

  • Office 365 activated, Skype shows I have it as a s...

    On my Office 365 account, it tells me that my Skype 60 minutes has been activated. When I go to my Skype account, it tells me that I have one subscription, and that is to World minutes for Office 365, and that I have sixty minutes left. Yet when I tr