Change id's tab at runtime

I have some tabs that i need to change id at runtime, is it possible???

Hi Rodrigo,
Please give a bit detailed explaination about your requirement. Are you looking to add tabs dynamically in your WD application or work with the properties of the existing tab properties at runtime then the answer is yes.
Regards,
Murtuza

Similar Messages

  • Add a new tab at runtime

    Hi,
    I have a requirement in PC-UI as to add a new tab at runtime based on certain values.
    I tried to modify the tab page group with the method check active tabstrip but somehow it does not work.
    Can you please mention if there is some other method by which this can be achieved?
    Regards,
    Jaisish Mohanty

    Hi
    This should definitely work. Please verify the steps that you carried out for this. Add your event to the tabpage group. All you need to do is delete this event in the interface method check_active_tabstrip when the value expected is not available.
    Also make sure you trigger the check_active_tabstrip method on change of your values. For example, if its a scenario based on field, in the fieldgroup structure check the attribute send request. Put a breakpoint in method check_active_tabstrip and see if its getting trigerred and if it triggers check for your event in the table CT_TABSTRIP. Hope this helps.
    Regards
    Karthik
    Edited by: karthik kuppuswamy on Feb 13, 2008 11:29 PM

  • How can I change the state of a runtime menu item programati​cally?

    Using LabView 6.1, I would like to change the state of the runtime menu item "Operate/Print at completion".
    The goal here is to print the VI front panel according to the operator choice (OK ->print, Cancel ->don't print)
    In a first release, I put a Stop function at the dialog output (activated by the cancel button) but this function stop the complete application and my idea where to stop only the VI in which the dialog is running.
    In a second release, I've tried to use the "Application
    control/Menu" but I receive every time an error:
    Error 88 occured at Cannot modify application menu item in the printtest.vi.
    Possible reasons: LabView, Runtime menu error...
    Any suggestion is appreciated.
    Re
    gards,
    phidu

    Instead of using the print at completion option, print the VI programatically if the user selects to print...open a reference to the VI you want to print and use an invoke node to print vi to printer.
    Alternatively create another VI with a layout optimized for printout, set it to print at completion and run and load the data into that VI if and only if the user OKs the print...
    Mads
    MTO

  • My tab default is1.25 which is too big for the A5 document I'm working on, how do I change the default tab so that I don't have to reset each individual line?

    My tab default is1.25 which is too big for the A5 document I'm working on, how do I change the default tab so that I don't have to reset each individual line?

    Hi Hannah,
    Inspector > Text > Tabs Button > Tab Settings > Default Tabs.
    To set a tab stop on the go, click in the ruler.
    If you can't see the ruler, Menu > View > Show Rulers.
    To set tab stops for lines (paragraphs) you have already typed, select those paragraphs and set them all at once.
    Also, have a look at Menu > Pages > Preferences > Rulers.
    Regards,
    Ian.

  • Change Excel sheet tab color using Open XML dll

    Hi,
    I want to change the sheet tab color of an excel Xlsx  document. I am using the following code but it does not set the sheet color. I get object reference exception when I set the sheet tab color.
    public static string filepath = @"C:\Test\Book1.xlsx";
    private static void ChangeSheetcolor()
    try
    using (SpreadsheetDocument spreadSheetDocument = SpreadsheetDocument.Open(filepath, false))
    WorkbookPart workbookPart = spreadSheetDocument.WorkbookPart;
    IEnumerable<Sheet> sheets = spreadSheetDocument.WorkbookPart.Workbook.GetFirstChild<Sheets>().Elements<Sheet>();
    //my code
    WorksheetPart worksheetPart =
    GetWorksheetPartByName(spreadSheetDocument, "Sheet1");
    if (worksheetPart != null)
    // worksheetPart.Worksheet.SheetProperties.TabColor.Rgb = DocumentFormat.OpenXml.HexBinaryValue.FromString("Red");
    worksheetPart.Worksheet.SheetProperties.TabColor.Rgb = DocumentFormat.OpenXml.HexBinaryValue.FromString("#CCCCCC");
    // Save the worksheet.
    worksheetPart.Worksheet.Save();
    catch (Exception ex)
    private static WorksheetPart
    GetWorksheetPartByName(SpreadsheetDocument document,
    string sheetName)
    IEnumerable<Sheet> sheets =
    document.WorkbookPart.Workbook.GetFirstChild<Sheets>().
    Elements<Sheet>().Where(s => s.Name == sheetName);
    if (sheets.Count() == 0)
    //does not exist
    return null;
    string relationshipId = sheets.First().Id.Value;
    WorksheetPart worksheetPart = (WorksheetPart)
    document.WorkbookPart.GetPartById(relationshipId);
    return worksheetPart;
    How to change the sheet tab color using Open XML dlls.
    Thanks
    Ashok

    Hi J_Prasanna,
    I'm afraid that it's not possible with OpenXML SDK, but it's possible if you use Excel PIA along with Internet Explorer. Use the Internet Explorer COM object to render the HTML content, then copy the document, use the Paste method of the Worksheet object
    to paste the text with format.
    Dim IE As Object
    Set IE = CreateObject("InternetExplorer.Application")
    With IE
    .Visible = False
    .Navigate "about:blank"
    .document.body.InnerHTML = Sheets("Sheet1").Range("A1").Value
    .document.body.createtextrange.execCommand "Copy"
    ActiveSheet.Paste Destination:=Sheets("Sheet1").Range("A1")
    .Quit
    End With
    The code is similar if you use managed project.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • *** Canu2019t Change ServerName or DatabaseName At Runtime In Crystal Report!!!

    Canu2019t Change ServerName or DatabaseName At Runtime In Crystal Report. Why?
    HI thereu2026 This is just a simple Winform(not ASP) with a Crystal Report Viewer control on it that was called by another simple WinForm. Iu2019m trying to simply change the Server Name for a Crystal Report at runtime and it will not let me. Hereu2019s the code below. The database is identical to my development server database. This should be easy to do as I did below. I use SQL Server 2005(SPK 2) and Visual Basic 2008. I use the Crystal Reports 2008 standalone designer(seperate program), not the older one in the VS IDE. When I run the code it accepts changes to the user name and password but ignores any change to the ServerName or DatabaseName. Why?
    Mike in Los Angeles, Calif, USA
    Imports CrystalDecisions.CrystalReports.Engine
    Public Class CrystalReportForm2
        Private Sub CrystalReportForm1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
            CrystalReportViewer1.LogOnInfo = New CrystalDecisions.Shared.TableLogOnInfos()
            Dim LogonInfo As New CrystalDecisions.Shared.TableLogOnInfo
            LogonInfo.TableName = "clients"
            'Force crystal report to use a different server AT RUNTIME than the development server!
            LogonInfo.ConnectionInfo.ServerName = "DATASERVER2"    u2018<- ignores changes to this!!
            LogonInfo.ConnectionInfo.DatabaseName = "CMSDATASQL"   u2018<- ignores changes to this!!
            LogonInfo.ConnectionInfo.UserID = "SQL_USER"           u2018<- accepts changes to this!!
            LogonInfo.ConnectionInfo.Password = "34567WERTD"       u2018<- accepts changes to this!!
            CrystalReportViewer1.LogOnInfo.Add(LogonInfo)
            'Testing only below!
            ' MsgBox("ServerName =" & CrystalReportViewer1.LogOnInfo(0).ConnectionInfo.ServerName)
            'MsgBox("DatabaseName =" & CrystalReportViewer1.LogOnInfo(0).ConnectionInfo.DatabaseName)
            CrystalReportViewer1.SelectionFormula = "{openclientsquery.lastname} like  'c*'"
            'CrystalReportViewer1.SelectionFormula = "{clients.clientid} = '1111111'"
            CrystalReportViewer1.Refresh()
        End Sub
    End Class
    Edited by: Mike JJJ on Dec 25, 2008 7:26 PM
    Edited by: Mike JJJ on Dec 25, 2008 7:30 PM

    Yes, you have to simply loop through all the tables in the report and assign each one the same logon info and then reassign the report and refresh the report viewer. No need to use a .Net Dataset here. Eventhough I got the answer myself from studying the Crystal API reference thanks to all that answered! Hopefully this will help others. Mike in Los Angeles, Calif, USA.
    Imports CrystalDecisions.CrystalReports.Engine
    Public Class CrystalReportForm2
        Private Sub CrystalReportForm1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
            Dim MyReport As New Clients 'Instance of report!!!
            Dim myLogonInfo As New CrystalDecisions.Shared.TableLogOnInfo
            Dim myTable As Table
            For Each myTable In MyReport.Database.Tables
                myLogonInfo = myTable.LogOnInfo
                myLogonInfo.ConnectionInfo.ServerName = " DATASERVER2"
                myLogonInfo.ConnectionInfo.DatabaseName = "CMSDATASQL"
                myLogonInfo.ConnectionInfo.UserID = "SQL_USER"
                myLogonInfo.ConnectionInfo.Password = "34567WERTD"
                myTable.ApplyLogOnInfo(myLogonInfo)
            Next myTable
            CrystalReportViewer1.ReportSource = MyReport
            CrystalReportViewer1.SelectionFormula = "{openclientsquery.lastname} like  'c*'"
            CrystalReportViewer1.Refresh()
        End Sub
    End Class
    PS - Hopefully, in the future Microsoft will improve(and document) its own report control and designer. Right now it's still crude and needs a lot more development to approach the usefulness that the Access Report Designer has. It's rediculous to depend on a third party reporting control(all business programs require reporting) when Visual Studio should have had/built one included from day one.

  • Changing installation path of the runtime? Install by User?

    Hello,
    I'm currently facing a situation where I need to deploy an
    AIR application to users who do not have admin rights.
    I know that AIR does not allow doing that. But I've tested
    that one of the main thing preventing from installing AIR on this
    definite environment is that writing is not allowed to program
    files folder.
    I've run tests using other install packaging tools and manage
    to make it working perfectly by targeting mydoc folder instead of
    program files folder and also by specifying a per user install.
    Everything works fine (even more advanced features not possible
    with the official installer like environment variables, patches...)
    I wonder if there's a way to say AIR to be installed on a per
    user base and to change the path of the runtime installation (this
    may not break the update mechanism because as far as I tested it,
    it just changes app information regarding its path).
    I understand clearly why Adobe do not want to make AIR
    standalone because it is against the entire focus of this
    technology. But I've read that plenty of people are in situation
    where they may use AIR to develop rich software application to
    produce tools internally of a company, without having to go with
    the expensive and time consuming process of going through the
    regular IT installation procedure. On the one hand Adobe may loose
    the advantage of having an entire company making AIR available on
    their computers worldwide, on the other hand they may improve in
    term of AIR latest version adoption and making this technology
    considered lightweight, flexible and useful technology within big
    international companies internal use. (and it may be a step before
    the full adoption within the company?)
    Thank you in advance for giving me the official approach on
    this point.
    Best regards.
    Cedric M. (aka maddec)

    This is a security feature, preventing scripts from accessing the full path of a file to be uploaded using &lt;input type="file">.
    In earlier versions of Firefox, your script might have asked the user's permission to access privileged information, but this feature was removed in the past few versions of Firefox.
    Why do you need the full path?

  • Agentry: Trigger action when changing main screen tab

    Hi,
    I'm adapting Work Manager for iPad and in my main screen I have 4 tab screens: Work Orders, Notifications, Time Sheets and Crew Manager.
    I would like to trigger a List Selection action step when the user navigates to the Time Sheets tab in order to select the current day of the week automatically. I already created and tested the action with a button and it's working fine but I don't find a way to trigger an action when changing main screen tabs.
    Here my main screen:
    In the screen definition there is not much I can define... just the icon, size and styling...

    Ok, thank you both, the question has been answered
    Regarding Bill suggestions I think there are too many possible actions in the main screen where to apply the selection step.
    And to apply Jason's workaround I need to do a major UI change and user's are too familiar now with the solution that has been in production for a while...
    I think I will set the date after transmit. It won't work on the initial load and when user manually selects a different day and comes back to the tab, but I think it will cover more than 90% of application uses since they are supposed to synchronise every morning and register time for the current date usually.
    @Jason: I hope you can tell the idea to the engineering team

  • Change color of tab page canvaz

    hi friends
    i use tab page canvaz and i want when i change pages
    the color of header part of page be special color.
    is there any wany?
    thanks.
    shoja.

    I tried what you said but it doesn't change the entire tab color. It only changes part of the tab color, not all of it.
    I'd like to change the entire background color, just leaving the borders (to identify the selected tab)
    Do you know how to do it?

  • Changing the window type at runtime is not allowed

    Hi,
    I am executing a smartform.When we do the print preview,we get the following message:
    "Changing the window type at runtime is not allowed"
    Please let me know if you have pointers to this error.
    Thanks.
    On further search,we found that the perform
    PERFORM set_late_window is illegal to use in ECC6.0
    We checked note No. 359009,shifted the source code node to the window for which the perform is used.Still the same error shows while executing the smartform.
    Please suggest what needs to be done for the same.
    Edited by: p317980 on Jun 27, 2011 10:06 AM

    Hello Aidan,
    Thanks for your prompt reply.I did as you suggested,but the perform still exists in the form,just it has been shifted to window which calls the perform.I activated the form & its working with just the error that standard text does not exists.
    Thanks a ton!!!!!

  • How to (if possible) change the measfilename variable at runtime

    Hello / Hallo (in Deutsch unten)
    Is it possible to change the measfilename at runtime? I have two HBM MGC+ which need a pretty long time to initialize. Both are installed in a car. For each measurement we make I must run the DAC scheme make the measurements an stop it. Then ich change the filename for the data and we make the next measurements. This takes a lot of time.
    I want to start run the DAC scheme for only one time and let it run. Then I want to trigger the measurements with buttons setting triggerconditions in the DAC scheme. To trigger the recording of the data is not the problem but how can I change the measfilename variable at runtime so that each new measurement is saved in a new file?
    The example with the GenFileName function is interesting but not the solution for my problem...
    has anyone an idea?
    Thanks a lot.
    Sebastian
    DEUTSCH:
    Hallo,
    kennt einer eine Möglichkeit die Variable MeasFileName bei laufender Messung zu verändern? Ich möchte die Messung starten... das Abspeichern geschieht über Triggerbedingungen die von Button im DAC Plan während der Messung gesteuert werden. Ziel wäre für jede neu getriggerte Messung je eine neue Datei mit einem neuen (in der Laufzeit eingebbaren) Dateinamen anzulegen.
    Hat das oder ähnliches schonmal einer gemacht und kann sachdienliche Hinweise abgeben ?
    Danke schonmal.
    Grüße Sebastian

    Hallo,
    ich habe noch ein wenig herumprobiert aber es klappt nicht so richtig. Ich habe noch folgendes versucht: Daten ins Datenportal ablegen und immer nach Ende einer einzelnen Messung per Button eine Autosequenz aufrufen die die Daten in eine Datei schreibt (Dateiname über Dialogfeld eingebbar). Das klappt auch... nur wenn ich dann in der Autoseq. den Datenbereich komplett lösche (DATADELALL) und eine neue Messsequenz starten will stürzt das Messprog. mit Runtimeerror ab. Irgendwie kommt der vermutlich nicht klar damit, dass der Messwertzähler während der Laufzeit wieder auf 0 gesetzt werden muss.
    Eine fortlaufende Speicherung mit anschließender Sortierung wollte ich auch schon machen aber bei fast 200 Messkanälen mit 800Hz häufen sich einfach soviele Daten an, dass die Messdatei riesig werden würde.
    Grüße Sebastian

  • Changing the default tab in Record Working Time iview of ESS

    Dear experts,
    How can we change the Default tab from WEEKLY to DAYLY in Record Working Time iview of ESS .

    We have been told by SAP this is not possible to do.
    There may be some changes to this in Ehp 5, but I am not sure.
    /Kirsten

  • How can I change the new tab homepage ?

    how can I change the " new tab " homepage

    By default Firefox uses a blank page in a new tab. Something you installed changed that to I-PLAY. You need to figure out what changed that, and get rid of it. Start with this. <br />
    http://support.mozilla.com/en-US/kb/troubleshooting+extensions+and+themes

  • Firefox 4 is stuck in classic mode. I went to the Add-on's and tried to change it, its the same no matter what I do, the only thing that changes is the tabs. Help.

    I downloaded Firefox 4 because it looked great at school, it doesn't look the same I believe its stuck in classic mode. I went to the Add-on's and tried to change it, its the same no matter what I do, the only thing that changes is the tabs. Help.

    To get the new interface you need to hide the menu bar. To do that in the View menu select Toolbars, then click on the "Menu Bar" entry. If you had applied customizations to the menu bar whilst using Firefox 3.6, the new version would by default use the old interface.
    If you need access to the menus you can press either Alt or F10 to temporarily display them.

  • How do you change the New Tab page?

    After Yahoo Toolbar stowaway-ed onto my computer, it changed my new tab page to Yahoo search, and I can't change it back.

    The default Firefox installation shows a blank page when you open a new Tab, something you installed in Firefox changed that action. You need to figure out what you installed that changed that action to showing yahoo.com and disable that addon.

Maybe you are looking for

  • Windows 8.1 not recognizing my video card

    I found this link of something similar to a forum thread that was never completed! I have the same problem this guy had last year, but he never responded if their fixes worked for him. So far, I've tried both boot camp 5.1 driver versions and neither

  • GPS Question [might be dumb]

    Last night was the first night I used GPS on my phone, I had to pick someone up. Well I got there and couldn't figure out how to shut the thing off, it kept tracking where I was. Or as soon as you hit the home button an exit out of maps does it stop?

  • How to schedule Inforamtion broadcasting reports

    Hi Guru's Can you give me some idea, I have few reports in IB i have to schdule all these reports to run on every month 1st day. how can i do this. could you pls give me step by step instrcutions. Thanks i advance Points will be awarded

  • Uploading internal table to Excel sheet

    Hi Experts, I am downloading data from Excel file which is saved on local desktop i.e. Presentation server into internal table. Changing internal table data and uploading it back to same Excel sheet Tried using FM 'MS_EXCEL_OLE_STANDARD_DAT'. Issues

  • 997's sending through internal delivery channel

    Hi All, My scenario is , this is only for testing purpose.. I am sending PO through internal delivery channel to some other ftp in our local folder, b2b should send a 997 back to ipinqueue,, Is it possible to do that.... Help me to resolve this issue