Is it possible to programatically add tab pages on tab control

Hi All,
Is it possible to programatically add tab pages on tab control? If yes then how?
Thanks & Regards,
Shrinivas

Doing this will require the use of VI server and methods and properties.  First, some questions:
Is the number of pages you may need unbounded?
Do you have a maximum number of pages you need to display at any one time?
If the answers are no and yes, then you can create a tab control with the maximum number of pages you need, and hide or show the pages, as necessary. To hide or show pages, use the Pages property to get references to all the pages.  Use Index Array to select the page you want to show/hide, then use its Page Visible property to show and hide it.
You can also get a lot more dynamic, if you number of pages you need to show at any one time is less than the total number of pages.  In this case, you will want dynamic page contents and tab name.  You can set the tab name by Page Label property of the page (right next to the Page Visible property).  You can make the content dynamic by using a subpanel as the only contents of the page.  You can find out about subpanels in the LabVIEW help or this post.
You also need to ask yourself whether a tab interface is the best one for your application.  I have usually found that if I need to show and hide a lot of tabs, I would be better off with a subpanel for my content and a text or menu ring the select the content.  Tree controls also work nicely for selection.
Good luck!  Let us know if you need more help.
This account is no longer active. Contact ShadesOfGray for current posts and information.

Similar Messages

  • Active tab page and tab

    I would like to know how to make active tab page stands out from other tab pages. For example, tab page background color and tab background color in light gray. Tab text in white. Any ideas?
    Thanks in advance for any suggestions.

    Xiaoling,
    as far as I know this is not possible. One way to do what you want is to use all uppercase letters for teh active / selected tab and all lower case for the other.
    Frank

  • Using javascript or HTML, When I click a link to a named page that already loaded in a tabbed page the tabbed page does not show, but you can see that the page relaoded. Using HTML or javascript what script will make this happen? The javascript focus() fu

    If a page is already loaded into a tab then using any of the following scripts will not cause the tabbed page to show when the link to it is clicked (created via PHP):
    "Continue Shopping".
    OR
    "Continue Shopping".
    OR
    "Continue Shopping".
    The first HTML works perfectly in the Safari browser.
    == This happened ==
    Every time Firefox opened
    == Always

    The scripts for this should have shown as:

  • On tab pages, where tabs are children of home page ... how2insert rows?

    We show the key on the parent tab ... we navigate to child tabs, and proper child rows are all there.
    We click insert and it seems to allow entry. We click Submit, we get error that the parent key field is blank, so can't do insert.
    So ... how to make that parent key persist on each child tab?
    The tabs know the key is there, because they successfully show the children, and only the children. And when you click on a different parent on the row listing of the main home page, then go to child, only that new row's children show up (my intern did the links, I can't speak for precisely how he did this, but we're talking meat and potatoes, not wizardry).
    Any records entered on a child tab should be a child of the clicked home parent, and no other record (one must start with parent before going to child) ...
    Is there a way to get the parent key to persist?
    (child tabs typically have two columns making up the primary key, the parent key (as a foreign key) and something unique to that tab ... e.g., line number, or xref code, or id_link ... these tables / keys all work just fine at the SQLplus level and via Oracle Forms, so data model per se is fine.)
    Any / all clues / info / links to docs will be met with much gratitude.
    Suzanne

    Suzanne:
    It would make it easier for your problem to be understood/resolved if you could create a example of the issue you are encountering at the OTN APEX site.
    Given the information you have provided, and assuming that the 'DML' for child records is handled by the standard APEX Automatic DML processing page process, I'd suggest you take a look at the definition of this process and determine how the PK for the child record is obtained.
    Varad

  • Tab page + each tab menu will open a different page

    Hi Guys
    I have a small problem here
    I want to add a menu tab at the top right corner of my page. This goes well
    and i have my menu as follows
    1.Add Client 2.Add project 3.Add employees
    For each menu i want to open their creation page in the same page her want it to open below and having the menu as above.......
    Also if data is committed to make the fields empty...
    How can i do this.
    Do I have to put the menu tabs on the different page that am calling
    Any help will do
    Regards
    Lutchumaya
    Message was edited by:
    Lutchumaya

    Thanks sudhir by this <Also if data is committed to make the fields empty...> I mean to reset the form values to empty in each field.
    I Must have a horizontal menu which will be present.
    Also for each menuitem in the menu should display the form to enter data into the application .
    e.g the menu will consist of the differnet tab: Enter Employee ; Enter Project; Enter Client
    For each menuItem I should display the creat for for example employee or project if selected and client if selected..
    Thank you for your help.
    Regards
    Lutchumaya

  • I am using Aperture to make a photo book.  I have about 400 photos in the project.  I am able to select the photos I want for 20 pages, then when I try to add a page, all the pictures are selected.  How do I add additional pages and still control the pix

    I am using Aperture to make a photo book.  I have about 400 photos in the project that I am selecting from.  I want to use about 70 for the book.  I am allowed to pick and choose photos until I fill 20 pages.  Then when I select add page, I am allowed to select all the pictures in the project.  I am not allowed to select.  I think I hve to change a setting, bt what?  Thanks for the help.

    .  I am not allowed to select.  I think I hve to change a setting, bt what?
    David, have you enabled the "Autoflow" options? There are settings behind the cogwheel, that will automatically place unused images onto new pages. If you only want to select a few images from a large project, disable these two options:
    Or start your book froman album, that only contains a selection of your images, rather than from the whole project.
    Reagrds
    Léonie

  • How to grade out a tab page in tab canvas

    Hi All,
    I am using oracle Apps R12.2 and forms 10g version
    I have Tab canvas in my page and it contain two page.
    My requirement is when the user is "PROC HEAD" means the Tab_page2 is Visible and able to acces.When other user logged means the tab should be grade out.
    I have tried so for is i have written my code in When New form Instance trigger
    And this is my code.
    declare
    tp_id TAB_PAGE;
    v_user_id number;
    begin
    select user_id into v_user_id from fnd_user where user_name='PROC HEAD';
    if fnd_global.user_id= v_user_id then
    tp_id :=FIND_TAB_PAGE('EXPEDITOR');
    SET_TAB_PAGE_PROPERTY(tp_id, visible, property_true);
    else
    SET_TAB_PAGE_PROPERTY(tp_id, visible, property_false);
    end if;
    Can any pls correct me where i went wrong.
    Thanks & Regards
    Srikkanth
    end;

    Srikkanth.M wrote:
    SolvedIt would be great if you could share the solution.
    Thanks,
    Hussein

  • Commit/Rollback on Tab pages

    I have three tab pages
    1st tab page called master_detal_page. It is base block bound to tables.
    2nd tab page called Keyword_page. It is not bound to the table.
    3rd tab page called Exit_page. It will popup dialog box ask for save the changes. commit,rollback,exit_form on trigger when-page-change.
    I encountered problems that I was unabled ROLLBACK or COMMIT the change I made on 1st or 2nd pages. When I refresh tab pages always display back to orginal records.
    Please help me with any technical to solve it. Thanks
    Trigger: WHEN-TAB-PAGE-CHANGED
    DECLARE
    v_result VARCHAR2(30);
    BEGIN
    IF :SYSTEM.TAB_NEW_PAGE= 'EXIT_PAGE' THEN
    v_result := FUNCTION_DISPLAY_MSG_BOX('Do you want to
    save changes before existing');
    IF v_result = 'YES' THEN
    COMMIT;
    GO_BLOCK('BLK_1ST_PAGE');
    ELSIF v_result = 'NO' THEN
    ROLLBACK;
    GO_BLOCK('BLK_1ST_PAGE');
    ELSE
    EXIT_FORM(NO_VALIDATE);
    END IF;
    END;

    what is the error you got? go to menu/display error to see if any.
    Then it likely you got saving issue with your master-detail block.
    can you save with only master block data? but cannot save if both blocks have new data?
    if yes, then you may add when-validate-record trigger to master and detail blocks, with code forms_ddl('post');
    then see it makes difference.

  • New tab page only shows icons when I open a new window, not when I open additional tabs within existing window. Help!

    When I click the + sign to open a new blank tab, I don't see any of my favorite / pinned websites. I can only see this when I start a new browser window, and only for the "landing page". Once I go to any other page, I can not get my new tab page with tabs to display.

    I fixed it. I went into about:config and had to change browser.newtab.url to about:newtab
    Thanks though! Marking as solved, have a great day

  • Revenues are not coming in the accounting tab page in cprojects

    Hi all,
    I am configuring the mulitilevel controlling on account assignment in cprojects with Project system. 
    I have given cost/revenue rate in customization along with revenue element.  The revenue element i categorised in the cost element category of "11".Then the cost element has assigned to controlling area and then to company code and then i replicated these values also.
    Apart from the above, is there any other setting i forgot? Please help me.
    Thanks

    Hi,
    (A) Which costing varianr you use
          PCO2 --> internal order
           PS06 --> Easy cost planning
    The costing variant controls how the costing is to be carried out. With it, you control:
    -->Whether the costing results are to be regarded as plan costs or actual costs
    -->Which prices are used to value the materials, internal activities and external activities
    -->How overhead surcharges are calculated
    (B)Define cost & revenue rates for the project role & enter the validity details. The start date and end of the validity dates should be within the organization and project dates ( IN C PROJECT )
    then go to make seeting in ERP
    C PROEJCT --> ACCOUNT INTEGRATION --> MAKE SETING IN ERP ( R/3 SYSTEM)
    (C) In CONTROLLING check the costing varaint
    (D)Settings for “Define Controlling Scenario
    (E)Assign Cost Elements and Activity Types
    Check this setting any thing is missing .
    and also check in Cproject Resoure tab page --> Costing  tab
    planned cost and Revenues
    CHECK AND REVERT BACK
    THANKS
    SUNIL JAWALKAR

  • Custom tab page in transaction PPOME

    Hi,
    I have added one custom tab page in the tcode PPOME.
    I created one custom infotype 9988 and followed the steps given in
    IMG .
    I can see the tab page in PPOME but when i click on the tab page, the tab
    page contains a message as NO SUBSCREEN FOUND.
    Any help will be highly appreciated.
    Thanks,
    Vijay.

    Hi
    have you created the custom infotype correctly and activated it correctly
    see the steps and do it again and see
    Steps to create a HR Infotype:
    1) Go to Transaction PM01.
    2) Enter the custom Infotype number which you want to create (Should be a 4 digit number, start with 9).
    3) Select the 'Employee Infotype' radio button.
    4) Select the 'PS Structure Infotype'.
    5) Click on Create... A separate table maintenance window appears...
    6) Create a PS structure with all the fields you want on the Infotype
    7) Save and Activate the PS structure
    8) Go back to the initial screen of PM01.
    9) Click on 'All' push button. It takes a few moments.
    10) Click on 'Technical Characteristics'. Infotype list screen appears
    11) Click on 'Change'(pencil) button
    12) Select your Infotype and click on 'Detail' (magnifying glass) button
    13) Give 'T591A' as subtype table
    14) Give 'T591S' as subtype txt tab
    15) Give your subtype field as subtype field
    16) Save and come back to PM01 initial screen
    17) Click on 'Infotype Characteristics' ... Infotype list screen appears
    18) Click on 'Change' (pencil) button
    19) Click on 'New Entries'
    20) Enter your Infotype number and short text
    21) Here we have to set different Infotype Characteristics as per the requirement. (Better open another session with some standard Infotype's infotype characteristics screen and use as the reference to fill yours)
    22) Save your entries.
    23) Now the Infotype is created and ready to use.
    24) If you want to change the layout of the Infotype as per your requirement...
    25) In the PM01 initial screen...Select 'Screen' radio button and give 2000 as the screen name, then click on edit.
    26) In the next screen.. Select 'Layout Editor' and click 'Change'.
    27) Screen default layout appears...here you can design/modify the screen..change the attributes of the fields..etc.
    28) Save and activate. (Don't forget to 'Activate at every level)
    Subtype Creation :
    Transaction PM01 Goto Subtype Characteristics. Click on Append and then subtype. Enter the name and description of subtype on screen.
    Then goto technical Characteristics and maintain the details of subtype there. I.e name of subtype i.e. component name defined in PSnnnn. Subtype table is T591A.
    Subty.text tab is T591S and time const tab is T591A.
    See:
    http://help.sap.com/saphelp_46c/helpdata/en/4f/d5268a575e11d189270000e8322f96/content.htm
    HR related site:
    http://www.sapdevelopment.co.uk/hr/hrhome.htm
    <b>Reward points for useful Answers</b>
    Regards
    Anji

  • About forms builder 6i's tab page

    when tab page is changed from one to another which triggers will be fired in order?? (click the topmost Tab Page )
    thanks
    Edited by: user650991 on Apr 16, 2009 6:11 PM

    ok, I find the answer in metalinnk.
    Native Tab Controls in Forms - Tab Pages and Tab Canvases
    Doc ID: 43014.1
    Controlling Canvases in Forms Programmatically
    Doc ID: 73441.1

  • 'Group your Tabs' page gets scrambled + unresponsive script

    I have around 12 groups of tabs in FF8.0.1. on w XP. When I switch to the 'Group your tabs' page, the tab groups are often shifted around, often stacked so that one hides several. Boxes may be resized. Then, an 'Unresponsive Script' box is likely to appear, and reappear after clicking Continue or Stop. While a box is present I cannot (of course) click on a tab group to open it, so it takes quick work to unearth and click on a tab group box before another unresponsive script box appears. The messsage in the box usually refers to a chrome: link (I don't have Chrome), sometimes a resource: link
    Any explanation/work round/solution

    Now the 'Group your Tabs' button does not work, I can't swap groups, and on restarting all unactive tabs show about:Tabs rather than the web page title - the only clue as to what is what is the icon.
    What's going wrong with Firefox?

  • Forms Tab-Canvas, change TAB with alt +Number on keypad

    I have a forms module with a tab page canvas.
    Navigation from tab-page to tab-page is possible by using <alt>+"Number".
    But changing the tab page wiht <alt>+"Number on the keypad "is not possible.
    How can I manage this?
    Regards

    Good morning,
    Here is an [url http://help.adobe.com/en_US/AS2LCR/Flash_10.0/help.html?content=00000520.html]ASCII Key Chart that I have used. It has the return codes for the 10-key pad among other keys. I have found it useful in several cases.
    Good luck,
    Don.
    REWARDS: Please remember to mark helpful or correct posts on the forum, not just for my answers but for everyone! :)

  • Pages for iOS on iPad - is it possible to add a dot leader tab?

    Hi All,
    I appreciate any help and thank you in advance...and apologize if this is a poor question, but searching around hasn't yielded any help.
    Is it possible in Pages for iOS to add a dot leader tab?
    I.e. Chapter One .......................................... 3.
    I suspect not, but welcome any help.
    Thanks!

    Correct that you cannot create this in ios Pages, but if you have a document or document template that was created on the Mac, then ios Pages will still have that function attached to that particular tab. Whacky huh.
    With only a dozen or so features, I personally don't see that ios or icloud Pages is very useful, but I guess it is still in beta with more features to come.

Maybe you are looking for