Problem in the Layout sub-tab

Hello

I have some SubTabs in a layout of the sub-tab. In one of the sub-tab I demanded field. When I click on this tab, I'm not able to move to the other tabs.

But I want the validation of this field only when I click the button submit on this tab and I want to move to other tabs without entering the data in the required field.

One possibility would be to have a validation of the side Server (explicit validation in AM) instead of client-side validation (the scoring as required in the page) for the required field. This would allow you to shoot the validation only if you wish.

You can also check the links in Subtablayout and see if you can score as "Validation on the Client side" as false. This would prevent the validation required for the field to be triggerred.

Concerning
Sumit

Tags: Oracle Applications

Similar Questions

  • Problems with the layouts and headers

    Hi I'm a newbie, trying to page layouts, I have 2 questions. I would be grateful for any help or pointers to tutorials.

    (1) I have problems with the links at the top of my page. They are text based and in a table of 2 rank. They have a huge ditch around them and no matter what I do I cannot resize the table or change the text to be less than a gap below it. Basically I have a huge gap between my links at the top of the page and the main logo and the main logo below. (and I think they are related as the h1 which I don't want that they're not really the header only links). Here's the code for that.

    <table width="740"  border="0" align="center" cellpadding="0" cellspacing="0" class="HeaderLogoButton">
          <tr align="center" valign="top">
            <td width="288" height="48"><h1><br /><br />
            </h1></td>
            <td width="452" height="25"><!-- TemplateBeginEditable name="HeaderLinks" --><span class="TextButtons"><a href="../index.html" class="TextButtons">Home</a>      <a href="../featured.html" class="TextButtons">Featured Company</a>      <a href="../youngpeople.html" class="TextButtons">Young People</a>      <a href="../andmore.html" class="TextButtons">And More</a>     </span><span class="TextButtons"> <a href="../blog.html" class="TextButtons">Blog  </a></span><!-- TemplateEndEditable --> </td>
          </tr>
          <tr>
            <th height="48" align="left"><a href="index.html" title="My Site Title"><img src="../images/My Site_logo.png" alt="My Site Logo" width="245" height="46" border="0" align="left" /></a></th>
            <td align="right" valign="top"><!-- TemplateBeginEditable name="HeaderButtons" --><img src="../images/facebook.png" alt="FaceBook Button" width="36" height="36" align="top" /> <img src="../images/twitter.png" alt="Twitter Button" width="36" height="36" align="top" /><img src="../images/blogbutton.png" alt="Blog Button" width="49" height="47" align="top" />  <!-- TemplateEndEditable --></td>
          </tr>
        </table>
    

    (2) my second question with headers in general. As you can see in the code I have a "My Site_logo.png', as the main logo for the site, what concerns me is pointing to it as the main h1 header so that when the spiders come to visit, either by the additional logo or html, they read that the site is called"My Site"the main header. How can I make the logo/title of the h1 of the code section? I'm afraid of making a mess of the code at this point, so any help is very appreciated!

    Thanks in advance

    evilJim wrote:

    Hi I'm a newbie, trying to page layouts, I have 2 questions. I would be grateful for any help or pointers to tutorials.

    (1) I have problems with the links at the top of my page. They are text based and in a table of 2 rank. They have a huge ditch around them and no matter what I do I cannot resize the table or change the text to be less than a gap below it. Basically I have a huge gap between my links at the top of the page and the main logo and the main logo below. (and I think they are related as the h1 which I don't want that they're not really the header only links). Here's the code for that.

    In the first cell of the table, you have a tag h1 (header tag) (see below), in this tag you inserted two break tags
    by pressing return on your keyboard twice. These breaks are reduced the height of the first row of the table, that's why you have all the space under your links.



            

    evilJim wrote:

    (2) my second question with headers in general. As you can see in the code I have a "My Site_logo.png', as the main logo for the site, what concerns me is pointing to it as the main h1 header so that when the spiders come to visit, either by the additional logo or html, they read that the site is called"My Site"the main header. How can I make the logo/title of the h1 of the code section? I'm afraid of making a mess of the code at this point, so any help is very appreciated!

    Thanks in advance

    At the moment you have nothing apart from 2
    tags in your h1 tag (see above answer to your first quetsion.

    Purposes of search engine, you can encapsulate your image in an h1 tag and provide an overview of more descriptive than "My Site Logo" for the images 'alt' tag

    My Site Logo

  • Problems with the layout themed to show/hide the region 25

    Hi all, Ive hit another question that I hope someone can help with...

    APEX 4.2.4 on XE... Theme 25.

    I've reproduced this login as apex.oracle.com [email protected] password newpass 291 3 application page.    (admin/admin is also implemented as a UN/pw)

    I have a skin region see the this Im using as a region of select query. There are a number of boxes, and a couple of display only fields that have values returned in it.

    I I set out them in a row, and after 3 items, I start a new line with the other 3 articles... that is

    X X X

    X X X

    Except that with the region set to show/hide and the model of the value without tab, no sidebar I get.

    X X

    X

    X X

    X

    If I change the standard region it works OK, and if I change models, it seems ok.  Ive tried all the combinations of columns, etc, but nothing helps...  Im trying to figure out if Im missing something, or I've hit a bug any... (almost certainly the old...) ...

    Thank you very much indeed

    Richard Legge wrote:

    I have a skin region see the this Im using as a region of select query. There are a number of boxes, and a couple of display only fields that have values returned in it.

    I I set out them in a row, and after 3 items, I start a new line with the other 3 articles... that is

    X X X

    X X X

    Except that with the region set to show/hide and the model of the value without tab, no sidebar I get.

    X X

    X

    X X

    X

    If I change the standard region it works OK, and if I change models, it seems ok.  Ive tried all the combinations of columns, etc, but nothing helps...  Im trying to figure out if Im missing something, or I've hit a bug any... (almost certainly the old...) ...

    The difference between the models of the region is that the Standard region has defined Points of view and the show/hide does not work. This is the mysterious properties that Oracle has not yet bothered to document. Their omission of this model is indeed likely to be a bug.

    Create a copy of the region show/hide template and add a point of view for the body of the region (content):

    Name: Body of the region

    Substitution of template: BODY

    Grid Support: Checked

    The maximum fixed grid columns: - 1


    Use the new model to show/hide for the region of select query.

  • Problem with the layout workspace in the Official Journal

    What is c? Is this normal? What is the problem?

    I don't see any thumbnails and other elements of page layouts.

    Windows 7 Pro. ATI FireGL. I suspect my graphics cart, but there seems to be a bug.

    problem.gif

    http://forums.Adobe.com/message/4900651#4900651

  • Problems with the layout inside the af: popup

    I have an af:popup and I have tried several things for my components layout, but nothing seems to work.
    Ideally, I want to have 2 panelDashboard next to each other, each filling 50% of the pop-up window. Because this does not work, I tried with af:table instead, but I had the same behavior. Most of the time, a single component is displayed or the second pane appears very narrow but it never fills the entire width of my popup.

    So here are some of my tests:
    <af:popup id="popEditRegion" contentDelivery="lazyUncached"
                            binding="#{pageFlowScope.wcmBean.popEditRegion}">
                    <af:dialog id="dlgEditRegion" stretchChildren="first" title="Edit Region" inlineStyle="width:600px">
                            <af:panelGroupLayout id="pnlG" layout="horizontal">
                            <af:panelStretchLayout id="pnlp1">
                            <f:facet name="center">
                            <af:panelHeader text="Selected Elements" id="sel">
                                            <af:panelDashboard  id="pd2" rowHeight="75px" columns="1" dimensionsFrom="parent"
                                                               dropListener="#{pageFlowScope.wcmBean.addSelect}"
                                                               binding="#{pageFlowScope.wcmBean.pnlSelected}">
                                                ...                                            
                                            </af:panelDashboard>
                                        </af:panelHeader>
                                    </f:facet>
                                    </af:panelStretchLayout>
                                    <af:panelStretchLayout id="pnl2">
                                    <f:facet name="center">
                                        <af:panelHeader text="Available Elements" id="av"> 
                                        <af:panelDashboard  id="pd1" rowHeight="75px" columns="1" dimensionsFrom="parent">
                                            ...
                                        </af:panelDashboard>
                                        </af:panelHeader>
                                    </f:facet>
                                    </af:panelStretchLayout>
                                    </af:panelGroupLayout>
                    </af:dialog>
                  </af:popup>
    I tried a mixture of things. With or without the panelStretchLayout, with or without the panelGroupLayout. I even tried with a h:panelGrid instead of groupLayout.
    I also tried adding a panelSplitter instead of panelGroupLayout, but nothing seems to work.
    I also tried setting the styleClass AFStretchWidth panelGroupLayout/grid/separator but that did not work as well. I also tried to adjust the dimension to the stretchLayout motor, but also did not work.

    As you can see, I tried all sorts of things, but nothing really seems to work. I'm missing something here...

    Well I've done a few tests more, the following code works a bit:
    <af:popup id="popEditRegion" contentDelivery="lazyUncached"
                            binding="#{pageFlowScope.wcmBean.popEditRegion}">
                    <af:dialog id="dlgEditRegion" stretchChildren="first" title="Edit Region" contentWidth="600">
                            <af:panelGroupLayout id="pnlG" layout="horizontal" styleClass="AFStretchWidth">
                                         <af:outputText value="dummy"/>
                                            <af:panelDashboard  id="pd2" rowHeight="75px" columns="1" dimensionsFrom="auto"
                                                ...
                                   
                                            </af:panelDashboard>
                                 <af:outputText value="dummy"/>
                                        <af:panelDashboard  id="pd1" rowHeight="75px" columns="1" dimensionsFrom="auto">
                                            ...
                                        </af:panelDashboard>
                                      
                                    </af:panelGroupLayout>
                    </af:dialog>
                  </af:popup>
    When I use this code, full width is used, but the last panelDashboard is even wider than the popup. The strange thing about this is the moment I remove both the outputText dummy, I see only a single panelDashboard in the popup which is very narrow...

    Published by: Yannick Ongena on November 6, 2011 01:07

    It should work.

               
                    
                        
                            
                                
                                      ...
                               
                            
                            
                                
                                           ...
                                
                            
                        
                    
                
     
    

    Things to note:

    1. the external panelDashboard is used to provide 2 equal columns (50% distribution). The rowHeight is set to 100% to fill all the way down with a single line.
    2 panelDashboard is absolutely brilliant when it comes to networking. You just use the good values of column and rowHeight.
    3. do NOT use inlineStyle on any component, unless you absolutely must. Dialog box has the properties width and height builtin.

  • ADF clear the table of filter criteria in the sub-tab

    Scenario: Parent Page has an input field main and two strips of void. Each sub tab is a taskflow region.

    second sub-tab contains a table with filter enabled.

    whenever the data is changed in a main entry field, the data contained in the sub tabs need to be updated and the filter criteria table previous if everything must be deleted.

    Approach: To do this, I raise a contextual event of the main entry field to call the second sub-tab clearFilter method that looks at below.

    public void clearFilter() {}

    If (GetTable ()! = null) {}

    FilterableQueryDescriptor = queryDescriptor

    (FilterableQueryDescriptor) getTable () .getFilterModel ();

    If (queryDescriptor! = null & & queryDescriptor.getFilterCriteria ()! = null) {}

    queryDescriptor.getFilterCriteria () .clear ();

    .queueEvent (getTable (new QueryEvent (getTable, queryDescriptor)));

    }

    }

    }

    Question: When I'm in the second tab and then change something in the main, contextual event entry field and filter of the table in the second tab is cleared.

    But if I enter a filter in the second tab, move to the first tab and then change something in the main entry field. contextual event does not run.

    When I get back to the second tab, I can still see previous criteria. The contextual event handler method is not called.

    Please suggest how to solve this problem. Contextual events will be called only if the Subscriber is visible on the page?

    Can I erase the layer model filter without having to use the table binding?

    Or is there a better approach to do?

    Hello

    That's because contextual events propagate active links, including the second tab does not contain when it is hidden. So try to trigger the popup event in response to an event of disclosure tab (on the showDetail) so that when users switch tab, then filter is removed. To avoid unnecessary event context-sensitive invications you can set a flag each time the data in the parent page changes. If this flag is not set, no contextual event is raised

    Frank

  • Problem of the CS6 div layout

    http://www.Lestock.ca/index.html

    I'm having a problem with the layouts of the here div.

    • As the page loads, the curve border placed around the container seems to load it as a small oval, then goes to load correctly, but there is a small area in the upper corner.
    • I felt it necessary to place the < p > tags at the end of the sidebar and the container so that the page to maintain its full content.

    Thank you

    Post edited by: Pat Krushen

    CSS stylesheet

    @charset "utf-8";

    / * CSS document * /.

    {body

    Police: 100% Verdana, Arial, Helvetica, without serif.

    margin: 0; / * It is advisable to zero, the margin and the filling of the body to hold element has a different default browser * /.

    padding: 0;

    text-align: center; / * This centers the container in IE 5 * browsers. The text is then set left aligned by default in the #container selector * /.

    Color: #000000;

    background-repeat: no-repeat;

    background-color: #FFF;

    background-position: 0px;

    Top: 0px;

    background-attachment: fixed;

    background-image: url();

    }

    .twoColLiqLtHdr #container {}

    Width: 80%;

    text-align: left; / * This setting overrides the text-align: center on the body element. */

    overflow: visible;

    background-color: #FFFFFF;

    border: thin solid #060;

    border-radius: 50px;

    margin-right: auto;

    left margin: auto;

    padding-top: 10px;

    padding-right: 15px;

    padding-bottom: 10px;

    padding-left: 15px;

    }

    .twoColLiqLtHdr #header {}

    background-image: url (greencorner2.jpg);

    background-repeat: no-repeat;

    do-size: 90%;

    background-color: #FFF;

    Width: 100%;

    padding-top: 0;

    padding-right: 0px;

    padding-bottom: 0;

    padding-left: 0px;

    }

    .twoColLiqLtHdr #header h1 {}

    margin: 0; / * zero setting of the margin of the last element in the #header div tag will prevent the collapse of margin - inexplicable space between divs. If the div has a border around it, this isn't necessary, which also allows to avoid the collapse of margin * /.

    padding: 10px 0; / * padding instead of margin will allow you to keep the edges of the div element * /.

    }

    / * Sidebar1″ tips:

    1. as we work in percentages, it is preferable not to use the filling in the sidebar. It will be added to the width for browsers compatible standards creating a real unknown width.

    2. the space between the wall of the div and the items it contains can be created by placing a margin left and right on these items as seen in the rule ".twoColLiqLtHdr #sidebar1 p.

    3. Because Explorer calculates the width after that the parent element is rendered, you can sometimes run into unexplained bugs with percentages of columns. If you need more predictable results, you can choose to change the columns of pixels in size.

    */

    {.twoColLiqLtHdr #sidebar1}

    float: left;

    Width: 22%; / * upper and lower padding create a Visual space within this div * /.

    background-color: #FFF;

    margin left: 15px;

    background-repeat: no-repeat;

    border-right-width: medium;

    border-right-style: outset;

    border-right-color: #060;

    }

    / * MainContent tips:

    1. the space between the mainContent and sidebar1″ is created with the left on the mainContent div margin regardless of how content div the sidebar1″ contains, the space of the columns will remain. You can remove the left margin if you want the #mainContent div text to fill the space of #sidebar1 when the content of #sidebar1 is complete.

    2. to avoid falling of float at a resolution of 800 x 600 minimum supported, within the mainContent div elements must be 430px or smaller (including images).

    3. in the Internet Explorer conditional comment below, the zoom property is used to give the mainContent "hasLayout". This avoids several specific IE bugs.

    */

    {.twoColLiqLtHdr #mainContent

    margin-top: 0;

    margin-bottom: 0;

    text-align: left;

    float: left;

    Width: 23%;

    left margin: 20px;

    }

    .twoColLiqLtHdr #footer {}

    background-color: #060;

    do-family: Verdana, Geneva, without serif.

    do-size: x-small;

    color: #FFF;

    text-align: center;

    margin: 0px;

    padding-top: 0;

    padding-right: 10px;

    padding-bottom: 0;

    padding-left: 10px;

    border-top-width: thin;

    border-right-width: thin;

    border-bottom-width: thin;

    border-left-width: thin;

    border-bottom-color: #090;

    border-right-color: #090;

    border-bottom-color: #090;

    border-left-color: #090;

    border-radius: 10px;

    }

    .twoColLiqLtHdr #footer p {}

    margin: 0; / * zero setting the margins of the first element in the footer will avoid the possibility of the collapse of the margin - a space between the div tags * /.

    padding: 10px 0;

    }

    / * Various classes for reuse * /.

    .fltrt {/ * this class can be used to float right to the item in your page.} The floating element must precede the element it should be next to the page. */

    float: right;

    left margin: 8px;

    }

    .fltlft {/ * this class can be used to float an element on your page to the left * /}

    float: left;

    right margin: 8px;

    }

    .clearfloat {/ * this class must be placed on an element div or break and should be the last item before closing a container should completely contain a float * /}

    Clear: both;

    height: 0;

    font size: 1px;

    line-height: 0px;

    }

    {.menudiv}

    float: left;

    Width: 50%;

    }

    {#menudiv2}

    float: left;

    Width: 60%;

    left margin: 10%;

    padding: 10px;

    right margin: 28%;

    }

    {.fltrtintroduction}

    float: right;

    Width: 66%;

    padding-left: 15px;

    make-weight: normal;

    Color: #333333;

    }

    {#weatherdiv}

    float: right;

    Width: 200px;

    }

    .twoColLiqLtHdr #container #header #slideshow {}

    float: right;

    Width: 70%;

    left margin: 35px;.

    }

    a: link {}

    color: #090;

    text-decoration: none;

    }

    a: visited {}

    color: #FC0;

    text-decoration: none;

    }

    a: hover {}

    Color: #333;

    text-decoration: underline;

    }

    a: active {}

    color: #8E9AB0;

    text-decoration: none;

    }

    {#updatetable}

    float: left;

    Width: 60%;

    margin left: 30px;

    background-color: #FFF;

    }

    #updatetable table tr {}

    }

    table tr td {fort #updatetable

    color: #FFF;

    }

    < / style >

    .lightfont {do-family: Verdana, Geneva, without serif;}

    make-weight: normal;

    }

    #logo {}

    float: left;

    Width: 24%;

    }

    . current.current {}

    background-color: #090;

    }

    . Green {}

    make-weight: bold;

    color: #060;

    }

    Post edited by: Pat Krushen

    Thank you, thank you, thank you!

  • Problem with the page using the not substituted VO

    Hi all



    I expanded the view object AbsenceSummaryVO of the/oracle/apps/per/selfservice/mgrviews/webui/ManagerViewsPG of the page. I created a new view object that extends the object from view of AbsenceSummaryVO, it contains a few added columns.

    These added through customization, I added to the tab of the absence of columns. The only problem is... that they are not fulfilled. It seems that Oracle ignores the request to be executed instead of the old one (old data appears perfectly). One of the current columns also changing a value hardcoded still looks like the old value (data base).



    When I look in the MDS repository, I can see the substitution is deployed, remove also the XML necessary for replacement of the filesystem is Oracle generates an error.

    Below the output from the MDS repository:

    ---

    <? XML version = "1.0" encoding = "UTF - 8"? >

    < customization xmlns = "http://xmlns.oracle.com/jrad" xmlns:ui = "http://xmlns.oracle.com/uix/ui" xmlns:oa = "http://xmlns.oracle.com/oa" xmlns: user = "http://xmlns.oracle.com/user" version = "9.0.3.8.13_1566"; XML: lang = "en".

    Customizes = ' / oracle/apps/by/self-service/mgrviews/Server/AbsenceSummaryVO ">

    < replace with = "/ xx/oracle/apps/by/self-service/mgrviews/Server/AbsenceSummaryVOEx2" / >

    < / customization >

    ---



    When I look at the page on the business components used, I see the substituted object seen used. However it does not appear in the substitute for the table column, but in a 'normal' line The original view object (AbsenceSummaryVO) is missing from this list. I find it rather strange.



    Everyone recognizes this kind of behavior? And what to do about it?



    Kind regards



    Patrick

    Patrick,

    You must extend AbsSupHrchyVO instead of AbsenceSummaryVO.
    Although this page mentions that AbsenceSummaryVO is used for the columns it ignores changes to this VO.
    I expanded AbsSupHrchyVO on a test instance and added a few custom columns and they appear in the Absence sub-tab (/ oracle/apps/by/self-service/mgrviews/webui/AbsSupHrchyRN) now.

    Kind regards
    Robert

    Published by: robert.jungerius on March-24-2010 09:38

  • How to find the number of SubTabs in the in the layout of the sub tab

    Hello

    I have a layout tab subregion. In this, I hide some tabs void according to certain conditions. I want to know how much void visible a layout of the sub tab currently have in any of my slot Tablet controllers. Please help me in this.

    Thank you

    Satya

    Satya,

    OASubTabLayoutBean subTabLayout = (OASubTabLayoutBean)webBean.findChildRecursive("SubTabLayoutRN");
    if(subTabLayout!=null)
    {
          System.out.println("Child :"+subTabLayout.getIndexedChildCount());
    }
    

    Kind regards
    GYAN

  • Problems with the Panel tabs with CS5, CC2014, CC2015?

    I created a script with TabbedPanel in ESTK CC, works very well in afx CC 2014, but it seems that there are some problems with the other versions (CS5 and CC2015).

    Can someone help how to generalize the limits and the tabs?

    Here is my Code briefly for the tabs.

    //

    //

    //

    function buildUI (thisObj) {}

    var myPanel = (thisObj instanceof Panel)? thisObj: new window ('pallet', 'Gear of Stress', undefined, {resizable: true});

    myPanel.timeSavers = myPanel.add ('tabbedpanel', [0,0,400,300], "Reducing Stress V1'");

    myPanel.timeSavers.cProject_tab = myPanel.timeSavers.add ("tab", undefined, 'Project');

    myPanel.timeSavers.MyTools_tab = myPanel.timeSavers.add ('tab', undefined, 'MyTools');

    myPanel.timeSavers.Explorer = myPanel.timeSavers.add ("tab", undefined, 'Explore');

    myPanel.timeSavers.Others_tab = myPanel.timeSavers.add ("tab", undefined, "Install");

    Return myPanel;

    }

    var myToolsPanel = buildUI (this);

    //

    //

    //

    Below the results to remain CS5, CC2014, CC2015. How to promote the universalization of the buttons, tabs, alignments etc as in CC2014 in other versions. Someone please help?

    afx cs5.pngafx cc 2014.pngafx cc 2015.png

    Don't you think that the resource string could solve this problem?

    You can certainly try a resource string. I used only once I understood how they worked, I find it much easier to build a UI in this way.

    myPanel.layout.layout (true);  Tried it, but all child elements arranged in a line or column that's it, do not respect the limits specified.

    To a resource string, make sure that every single container element specified margins or spacing info. If they do not have this set the automatic layout manager will just default to each calibration of control internal specifications, which vary with each version of AE.

    How can I universalize the user interface for all versions of EI? While I'll change once and for all.

    There is no miracle solution for all versions of AE to play nice with your construction. You to beta-test your code in each version of the EA you want your script to run on and then unique questions individually. Your script should contain a checker version AE, so you can know what patches, you need to implement when the user runs the script. It is not ideal and is one of the many oddities of software development based on the API of someone else.

  • After removing the feature new tab, I get a message "problem loading page" instead of a blank page.

    I followed the steps on the help page to remove the feature new tab I hate. So now there is "subject: white ' in the address bar as before, but now, I get this message of 'problem' and I want to just my white back page.

    Hello

    You can try to reset by clicking right on it. You can also try to enter Subject: empty as the value.

  • Hello. I'm just a beginner and I downloaded the itunes 12.3.3 update and now when I right click on a work of art albums all disappear from the track of this album. I also have problems with my get info tab. All of my info from the album crashes.

    Hello. I'm just a beginner and I downloaded the itunes 12.3.3 update and now when I right click on a work of art albums all disappear from the track of this album. I also have problems with my get info tab. All of my info from the album crashes.

    This can help (from turingtest2):

    Fix iTunes for Windows security permissions

  • I can't add new tabs to my window, or by clicking on the little + on the right of the last tab or CTL T or the new file tab. This problem was recently

    1. Question

    I can't add new tabs to my window, or by clicking on the little + on the right of the last tab or CTL T or the new file tab. This problem was recently

    The Ask toolbar is initially only in versions of Firefox 3.6.x. uninstall this extension.

    There are a few places to check for the Ask toolbar:

  • problem with changing the order of tab on tab control

    Hello

    I am aware that the same question has been asked over three years - but I can't yet find the problem in what I'm doing...

    Description: I have two controls tab, A tab with three tab and tab B with two controls on a Panel. For the following discussion, tab B is of no interest. Each tab control has several numerical indicators, of type integer and double. Now, I want to add a fourth tab control to A tab. This method works.

    Following and problematic stage, in the Publisher of the IUR I select the new tab (most right) and move two positions to the left. It's still ok until I try to display a numeric value of order of tab 3 (the new tab control is left to it). I get an error in calls to SetCtrlAttribute, complain about an invalid control ID... However, I didn't touch any control over the tabs, or add a new control. In addition, I did not touch the generated include file... Visual inspection did not show any changes in the include file (the new tab control is listed only when certain controls are added)

    Posting numbers on the first/far left tab control work only on 3 and 4 which are suitable for the new (and still empty) new tab will generate this error. Adding a control to the new label does not change the bahavior.

    Help is appreciated!

    Wolfgang

    Wolfgang,

    When you get the handle for your tab using GetPanelHandleFromTabPage:

    GetPanelHandleFromTabPage (MainPanelHandle, PANEL_TAB, 0, & TabHandle);

    the third parameter is an index for the specific tab you want to address.  If you change the order of the tabs, you can change the index, too.  For example, assume that you have a digital control on the third tab from left to right.  You want to assign some value, so this, you:

    GetPanelHandleFromTabPage (MainPanelHandle, PANEL_TAB, 2, & TabHandle);

    SetCtrlVal (TabHandle, TAB_numMyNumeric, 1);

    Now, you add a new tab to the left of the tab with the digital contorl.  The new tab is now index 2 and the original tab is index 3.  When you call:

    GetPanelHandleFromTabPage (MainPanelHandle, PANEL_TAB, 2, & TabHandle);

    you get the handle to the new tab.  There is a control with the same ID as TAB_numMyNumeric, so that you get a runtime error.

    Personally, I like to use an enumeration to my tabs so I can keep the lines:

    enum {MY_FIRST_TAB, MY_SECOND_TAB, MY_THIRD_TAB,...};

    So if I redesign the tabs or add a new one I just re - order enums and everything works fine.  Also, I used the same names in my constants of tab, to help keep things straight:

    GetPanelHandleFromTabPage (MainPanelHandle, PANEL_FIRST_TAB, MY_FIRST_TAB, & TabHandle);

    Tony G.

  • problem with the Favorites tab

    Hello, I have a problem with the Favorites tab in my browser. I took my computer to a computer shop earlier of him having served. They have changed something in My Favorites tab. The former Favorites tab no longer works properly, otherwise I don't know how to use it properly. A new is now open with a star next to it. This other does not upward with all my favorites. He keeps only upward with them on a daily basis. I would like to know how to get the old Favorites tab to work again. Your help is greatly appreciated. Thank you.

    Please repost your question in Forum Internet Explorer: http://social.answers.microsoft.com/Forums/en-US/InternetExplorer/threads where people who specialize in IE issues (such as problems with the favorite tabs) will be more than happy to help you with your problem.

    Good luck! Lorien - a - MCSE/MCSA/network + / A +.

Maybe you are looking for