Tabpage Reiter ausblenden

Hallo,
im Sud Dialog möchte ich eine Tabpage mit n Reitern darstellen. Je nach vorbelegter Variable sind aber nur m Reiter notwendig (m<n) Die nicht benötigten Reiter sollen ausgeblendet werden (natürlich so, dass zwischen den einzelnen Reitern die angezeigt werden kein leerer Platz auftaucht). Ich habe es bisher nur geschafft alle Reiter oder keinen auszublenden.
Für eine Lösung ist dankbar
Kramer

Hallo
Wenn Sie beispielsweise drei Tabreiter mit den Namen Page1 bis Page3 haben, dann können Sie den zweiten über folgendes Script  aus und einblenden.
If Page2.Visible=False Then
 Page2.Visible=True
Else
 Page2.Visible=False
End If
Ich hoffe das hilft weiter.
Winfried

Similar Messages

  • Zeilenumbruch in "Reiter" einer Registrierkarte (TabPage)

    Gibt es die Möglichkeit in einem SUD-Dialog (Diadem 10.0) den Text im "Reiter"  auch mehrzeilig  auszuführen ?
    Mir ist bekannt, dass ich diesen Text während der Laufzeit mit dem Befehl:
     This.Pages(1).Title("String") ändern kann.
    Danke

    Hallo DanielMaB,
    die Texte auf den Reitern eines SUD-TabPage-Controls können nicht mehrzeilig sein. (Ich habe es als Erweiterungswunsch an die Entwicklung weitergeleitet.)
    Alternative kann zurzeit der Parameter "Multiline" benutzt werden, um die Tabs zu scrollen oder mehrzeilig zu definieren.
    Gruß
    Walter

  • Acrobat Ebenen per Schaltfläche ausblenden

    Hallo,
    ich möchte gerne Linien eines Diagramms per Button ausblenden können. Hierfür habe ich in OpenOffice Calc das Diagramm erstellt und in jedes Registerblatt die Linien für eine Kategorie angezeigt. In Indesign habe ich dann Ebenen erstellt. Eine Hintergrundebene, die alle Achsen anzeigt. Dann habe ich für jede Linie eine Ebene erstellt und die Bilder die ich exportiert habe auf jede einzelne Ebene eingefügt. Die Bilder sind mit Ausnahme der Linien transparent eingefärbt, die ich vorher mit einem Grafikprogramm bearbeitet habe. Damit ich die einzelnen Linien übereinander legen kann. Ich habe somit 8 Linien und ein Hintergrundbild. Also insgesamt 9 Ebenen.
    Das klappt alles wunderbar, wenn ich das als pdf exportiere. Im PDF Viewer kann ich durch drücken des Auges im Reiter Ebenen, die einzelnen Linien super ausblenden ohne das etwas passiert. Sobald ich aber Schaltflächen einfüge, um diese per JS auszublenden funktioniert es nicht mehr.
    Ich habe folgenden Code verwendet:
    var docOCGs = this.getOCGs();
    for (var x=0; x < docOCGs.length; x++)
    if(docOCGs[x].name == "Layername")
    docOCGs[x].state = !docOCGs[x].state;
    Der Code klappt zwar, aber sobald ich auf eine Schaltfläche tippe blendet er alle Linien aus und blendet alle einzeln wieder ein. Ich möchte aber, dass er nur die Linie ausblendet, die angeklickt wurde. Ich erstelle mal ein Beispiel. Vielleicht kennt jemand eine Möglichkeit durch eine Einstellung, um alles schneller zu machen. Wie kann man eine Datei anfügen. Ich finde hier keine Schaltfläche.
    Gruß
    z

    hi,
    ich hab einen filehoster gefunden. Hier der Link:
    File-Upload.net - pdf_quelle2.pdf
    bis dann
    Gruß

  • BPS_WB-Can i add a query to a Web interface tabpage?

    Dear experts,
    In a BPS web interface application, i have already a tab page which allows users to input their data. Now i would like to add a second tabpage which allows to display the existing data.
    Is that possible to link a BEX query to a Tabpage BPS web interface application? I would like that the query is launched and the result is displayed each time an user click on this tabpage.
    Thanks in advance.

    Include your query in a web template and follow the approach given in the link http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a861d590-0201-0010-248a-fc70d8d29f26
    Edited by: Deepti Maru on Nov 30, 2010 10:24 AM

  • How to Paint a little square over the X close button on a TabPage.

    How can we get C# (VS10) to display a little square on a TabPage close button when the user mouses over the tab on that TabPage.
    Examples include that tab pages in Visual Studio. When we mouse-over the X in the upper right corner of any tab, a little square is painted over the X.
    How can we do something similar in our programs using C#?
    I’m using the following code to display an X in the upper right corner of the tab on a TabPage. This now only needs the ability to paint a square over the X when the user mouses over the X.
    // Using statements.
    using System.Drawing;
    using System.Windows.Forms;
    // Accomplished during initialization.
    mTabControlMain.DrawMode = TabDrawMode.OwnerDawFixed;
    mTabControlMain.DrawItem += new DrawItemEventHandler(TabControlMain_DrawItem);
    mTabControlMain.MouseDown += new MouseEventHandler(TabControlMain_MouseDown);
    //  Accomplished when creating a new tab page.
    TabPage newTabPage = new TabPage(“List “ + (mTabConrolMain.TabCount-1).ToString() + “    “;
    newTabPage.TooTipText = “Close”;
    mTabControlMain.TabPages.Insert(mTabControlMain.TabPages.Count - 1, newTabPage);
    // Called when the tab page needs to be drawn/re-drawn.
    private void TabControlMain_DrawItem(object sender, DrawItemEventArgs e)
        TabControl tabControl = (TabControl)sender;
        Font font = new Font(e.Font, FontStyle.Bold);
        if(e.Index >= tabControl.TabCount)
            return;
        Rectangle rect = tabControl.GetTabRect(e.Index);
        e.Graphics.DrawString(“X”, font, Brushes.SlateGray, e.Bounds.Right-15, e.Bounds.Top+4);
        e.Graphics.DrawString(mTabControlMain.TabPages[e.Index].Text, font, Brushes.Black, e.Bounds.Left), e.Bounds.Top+4);
    // Called when the user clicks the mouse button on a tab page.
    private void TabControlMain_MouseDown(object sender, MouseEventArgs e)
        for(int i=0; i<mTabControlMain.TabPages.Count; i++)
            Rectangle rect = mTabControlMain.GetTabRect(0);
            Rectangle closeButton = new Rectangle(rect.Right-15, rect.Top+4, 9, 7);
            if(closeButton.Contains(e.Location)
                mTabConrolMain.TabPages.RemoveAt(i);
                break;
    Ideas?
    Thanks  :-)
    -Mike

    You mean like windows 7 behaviour where the red area appears behind a white X as you mouse over?
    I would do that by putting the X in a button.
    You then have something concrete there to work with.
    Change the background color on mouseenter and again on mouseleave.
    Otherwise you'd have to work out whether the mouse was over that X you drew on there.  And I think that'd be difficult.
    Or am I missing something?
    Why are you using Drawstring to draw an X on there?
    By the way, you should really be asking windows forms questions in the windows forms forum.
    It's in your interest as you ought to get more windows forms developers hang out there.
    In theory anyhow.
    Hope that helps.
    Technet articles: Uneventful MVVM;
    All my Technet Articles

  • Printing the webitems of all tabpages (NW 2004s)

    Hello,
    I have a web template which has tabpages. Each tab page consists of several web items like analysis item, chart item and info field item.
    How can I print all the web items in all tab pages? Not only the one who are visible?
    I have a "print" button in the template which has a command like "Setting Web Item Parameters" with which I tried to set the visibility of the other items to "visible". But it didn't work.
    Do you have any other ideas?
    Great Thanks.
    Claudia

    Hi Caludia,
    you need to select another template then the actual one.
    eg.g you have template zsample_with_tabs inside there you define a button with a export command. as Export template you enter another template Zsample_without_tabs.
    inside the template Zsample_without_tabs you have the same Dataproviders and the same items but no tabs.
    then it should work.
    best regards,
    kai

  • Adding TabPage to (FPM) Standard ABAP Webdynpro Application

    Hi
    i'm beginning with ABAP webdynpro so i have been investigating tutorials and documentation about this and i created some sample programs for show Z tables or things like that.
    But my requirement is modificate the Standard Application 'Course Registration' of Student Lifecycle Management module ; this application has 3 Standard TapPages , one of these TabPages shows the courses to be booked and i need to add another new TabPage in order to show the courses to be booked divided for some criteria in the original TabPage and the new TabPage , the new TabPage must have the same functionality of original Tabpage.  Something like enhance Standard program with Screen Exit and Badis in ABAP. 
    I was investigated and now i know we can enhance Standard WD Component like deleting UI elements, enhance methods or add view/windows ;  but the 'Course Registration' is a FPM application so i found a tutorial cookbook configuration for this application and it explains we can add  TabPages (MainViews) or SubTabPages (Subviews) like i need ; but the tutorial only mentions the 3 original standard TabPages because all is related with already existing configurations for each component ;   In FPM framework configuration for the component if i press the 'Add View' button it adds a TabPage like i want, but i really do not know if it works for add a new 'Z' TabPage.  
    Can somebody please help me about how can i add a TabPage to Standard Webdynpro Application for application wich uses FPM framework ?  Where can i investigate about this ? 
    Excuse me for long thread , any help will be appreciated.
    Best Regards
    Frank

    Thanks Madhu
    Please let me give detail ; I just go to desired Application  PIQ_MBSS_OIF , Configuration PIQAC_MBSS_OIF ;  the configuration shows its two component configurations for Header IDR  (FPM_IDR_COMPONENT)  and floor plan specific (FPM_OIF_COMPONENT).
    In WD Component FMP_OIF_COMPONENT  with standard configuration  PIQCC_MBSS_OIF i see the tree Satndard TabPages created , one of these Tabpage is wich i need to divide in two Tabpages ;  in this Standard TabPage i see its required UIBBs with each standard UIBB configuration (ie.  FPM_LIST_UIBB with configuration PIQCC_MBSS_BCART_LIST  for the table list).
    Here is where i really do not know if my requirement can be made by just using FPM framework configurations :  can i copy Standard Configuration for  FMP_OIF_COMPONENT  , add the new Tabpage , save it with new 'Z' configuration , and it will work ok in the Standard Application ?       For add the Tabpage i should then add configurations for the UIBBs wich compose the TabPage (FPM_LIST_UIBB , FPM_TABBED_UIBB and  PIQUIBB_POPUP_AGENT ) ,  is this right ?
    I hope the explanation is clear ; any orientation will be helpfull.
    Best  Regards
    Frank

  • User defined tabpage in WBS Overview screen

    I am working on Project System implementation project.
    I would like to create user defined tabpage in WBS Overview screen of project definition as following status information.
    How can I create user defiend tabpage?
    Transaction : CJ20N
    Program (screen) : SAPLCNPB_M
    Screen number : 1000
    Program (subscreen) : SAPLCJWB
    Screen number : 3990
    Program (GUI) : SAPLCNPB_M
    GUI status : PB_PROJ_EDIT

    Hello Gurus,
    Have you solved this problem? I'm facing the same issue - I need to show the customer defined fields (CDFs) on the overview (table) screen where all WBS elements are shown with all Master data.
    Any suggestions?
    Thanks.
    Petr

  • Tabpage

    How do i put a horizontal scroll bar in a data block inside a tabpage. Because my data block has too many columns so i don't want that the whole tabpage is scrolled-right.
    I tried to put a stacked canvas but Forms 6i does not allow me to put a stacked canvas in a tabpage. Please help.

    Does this work for a block of say 7 records ??
    I tried an it worked only for a form block.
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by K Venkat:
    Edit the block's property sheet (for which u want the scroll bar to be on Tap page)..
    set the horizontal scrollbar -> yes
    Horizontal scrollbar canvas-> enter tabpage canvas name
    <HR></BLOCKQUOTE>
    null

  • Schaltfläche Adobe Acrobat Pro seit ein und ausblenden

    Hallo mit einandere
    Kann man in eine PDF Datei die besteht auf zwei Seiten eine Schaltfläche bzw. eine Optionsfeld hinzufügen mit dem Befehl Seite XY oder Ein oder Ausblenden.
    Also ich möchte eine PDF haben mit Zwei Seiten aber die Zweite seit wird gezeigt nur wenn mann eine bestimmte Schaltfläche klickt oder eine Optionsfeld ausgewählt hat.
    ich hoffe dass mir jemanden helfen kann.
    ibn im voraus sehr dankbar für ein kleine Hinweis.
    lg.

    ich habe selbe zwei java script Variationen eingegeben keine von denen funktionieren
    if (Default.resolveNode("#subform[1]").presence =="hidden") {
        Default.resolveNode("#subform[1]").presence="visible";
    } else {
        Default.resolveNode("#subform[1]").presence="hidden"
    oder auch das
    if (this.rawValue == 0){
       xfa.resolveNode("Seite2").presence = "hidden";
    }else{
       xfa.resolveNode("Seite2").presence = "visible";
    kann mir vielleicht jemanden helfen?

  • PPOME: Error in Infotype Tabpage

    Hello Experts,
    I had a requirement to add CUSTOMER infotype "9610" as a tabpage in PPOME , i was did all 
    required updations to get it in PPOME. Now i can view "9610" infotype in PPOME.
    Problem : In this tabpage iam getting " Record 1 of 1 " (which we can normally able to see at PP01 
                    at infotype records view). Normally this field "PPHDX-RECORD_NR" exist at 2000 screen but
                    its getting in the tabpage of PPOME. I was created a subscreen-7000 for getting tabpage at
                    PPOME.
    Please suggest !
    ~Scogni

    Hi Prashanth,
    Firstly thank you for your reply.
    After entering i get another error message with regard to Retroactive Accounting period, as below:
    "Enter data for payroll past (retroactive accounting)
    Message no. PG131
    Diagnosis
    The current entry begins on 15.03.2009. Either this date is before the 'accounted to' date, or payroll has not been run for the employee.
    System Response
    The recalculation date in infotype 0003, Payroll Status, is set to the begin date of the current entry.
    A recalculation will be triggered for this employee in the next payroll run."
    And if I still go for saving the same, ABAP Runtime Error will come and it shows as below:
    Runtime Errors      :  WRITE_TO_OFFSET_TOOLARGE
    Date and Time       :  20.03.2011  17:53:56
    Program error: Offset in WRITE TO in program "SAPFP500" is too large.
    Kindly suggest me, awaiting your reply,
    Regards,
    Sree.

  • CrystalReportViewer TabPages BackColor

    Hello,
    Is it possible to change TabPage BackColor of CrystalReportViewer since subreport is loading.
    I'm able to change BackColor using such code
    foreach (Control control in viewer.Controls)
                    if (control is PageView)
                        System.Windows.Forms.TabControl tab = (System.Windows.Forms.TabControl)((PageView)control).Controls[0];
                            for (int i = 0; i < tab.TabPages.Count; i++)
                                tab.TabPages<i>.BackColor = Color.FromArgb(157, 188, 227);
                                tab.TabPages<i>.ForeColor = Color.FromArgb(157, 188, 227);
    but when I click on link of the subreport (I use On-demand Subreport) second TabPage has default color. I try to change that while crystalReportViewer_DrillDownSubreport rising but TabPages is not created yet. Is there any solution for that?
    I use Crystal Reports Basic for Visual Studio 2008.
    Regards,
    Sebastian

    The way that I found that I could change the gray background that is around the report page was by using the crystalReportViewer_Layout method.  This method is called all the time, so you may want to use a flag that you set on the drilldown, and unset at the end of the Layout method. 
    Additionally, if you are trying to set the tab at the top of the page color, this is not possible as it is a limitation of the .NET object that is used.

  • Dev2k and event when tabpage changed ?

    Hi !
    Does Dev2k 5.0 generate an event when you press or change a
    tabpage? I haven't succeded in finding one yet, but perhaps
    someone knows about it or know of a workaround ?
    Also there is a trigger called ON-DISPATCH-EVENT !! Does anyone
    know what you can do with this ? or what it does ?
    Thanks,
    Kenneth ([email protected])
    null

    When you click on a tab in forms 5 and greater, it first
    when-tab-page-changed. Note that this trigger only first when a
    users explicitly clickes on a tab. If the application allows you
    to navigate to an item on a different tab page, the trigger does
    not fire, but the tabs do change to reflect the current tab.
    Also, there are two system variable that are helpful; they are
    :system.tab_new_page and :system.tab_previous_page. For some
    reason, the help system only includes references to the tab
    trigger and system tab variables on the FIND tab of the help
    search. The INDEX tab page of help does not list them.
    Good luck.
    Brian
    Kenneth Breit Bedsted (guest) wrote:
    : Hi !
    : Does Dev2k 5.0 generate an event when you press or change a
    : tabpage? I haven't succeded in finding one yet, but perhaps
    : someone knows about it or know of a workaround ?
    : Also there is a trigger called ON-DISPATCH-EVENT !! Does anyone
    : know what you can do with this ? or what it does ?
    : Thanks,
    : Kenneth ([email protected])
    null

  • Image on tabpage caption?

    as we can add images in the tabpage caption in vb.net.. or visual basic using image list property ... is it possible to add that kind of image in labview.. ???
    Attachments:
    a.jpg ‏38 KB

    Excellent question and answer!
    I did not know you could do that.
    Thank you,
    Ben
    Message Edited by Ben on 04-24-2006 08:53 AM
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction
    Attachments:
    tabs.JPG ‏19 KB

  • Tooltip for tabpage

    hi there, when hovering over a tabpage , a tooltip pop-ups with the same text as the tabpage label.
    I thought it was able to set / change this value but i'am wrong since no tooltip property appear in the property palet of the tabpage.
    Also i don't know any built in to set / change this value.
    Can anyone confirm this is not possible or may be someone can offer a workaround ?
    thanks
    chris

    user1609439 wrote:
    hi there, when hovering over a tabpage , a tooltip pop-ups with the same text as the tabpage label. So far i know the is no tooltip properties for tab canvas.
    What is your form version ?
    Edited by: HamidHelal on Jan 14, 2012 3:22 PM

Maybe you are looking for

  • In LOOPS...what am i doing wrong?

    In LOOPS, any Icon i select (all drums, kits, bass, guitar, piano...etc) the Icons go grey, as in, non-selectable. It worked previously...did I click something to turn them off? I'm a rookie user so its all pretty intense...dont know what I'm doing

  • Line Chart X Axis Not Sorted Correctly

    I have created a line chart where the x axis is date closed and the y axis is number of days to close. This chart is placed within a group called priority. When the chart is created the close dates are not on the x axis in ascending order. I'm expect

  • Multiple languages in flat file

    HI, I m trying to load data throw flat file, how i can load the multiple languages into bw. i  mean spliting in bw. while loading throw r/3 data , one check box will be enable in bi side ( multiple languages), what about flat file.

  • Planning all MRP relevant material together

    Dear All, I am bit confused because i want to plan all MRP relevant material in a plant together and i am not able to do that. Can someone please tell how to configure that and plan all material together. I have AFS add-on with standard SAP 6.04. Tha

  • ICal Problem - Exchange Received .ics files behaviour

    Hello, I work in an environment with multiple exchange servers. Some are 2007, and some are actually 5.5. When people on the 5.5 system send me a calendar invite, they send them as .ics files. When they come into my Apple Mail via Exchange, and I ope