UI 6.7 How could I use Progress bar form?

Hi all,
some SAP Business One add-ons use a small form with a progress bar instead of using the progress bar in the status bar. Does anyone knows how to use this form?
Bernhard

Hi,
I think that you have to create your own form.
In my Addon, I create a form with FormType = ft_FixedNoTitle, add several EditTexts (9) with the property Enabled = False and Visible = False, and the name beginnig with "oEditText" + Number Sequential.
After, when executing my code, I change the property Visible = True, to the next EditText.
That way I have a "progress form" like used in others Addons.
I use the following code to "progress" (after created the form)
    Private Sub WriteProgressInstall(ByVal pMsg As String, ByVal pPosition As Integer)
            Dim oForm As SAPbouiCOM.Form
            Dim oStaticText As SAPbouiCOM.StaticText
            Dim i As Integer
            Try
                If pMsg <> String.Empty Then
                    oForm = SBO_Application.Forms.Item("frmProgressForm")
'if we have a StaticText to show the progress message
                    oStaticText = oForm.Items.Item("oMSG").Specific
                    oStaticText.Caption = pMsg
                End If
                'Hide all "progress steps"
                If pPosition = 0 Then
                    For i = 1 To 9
                        oForm.Items.Item("oEditText" + CStr(pPosition)).Visible = False
                    Next
                End If
                oForm.Items.Item("oEditText" + CStr(pPosition)).Visible = True
            Catch er As Exception
                MsgBox(er.Message)
            End Try
        End Sub
To move to next "progress step" is just call
WriteProgressInstall("Executing Step 1..", 1)
HTH,
Ribeiro Santos

Similar Messages

  • How can i use Progress bar in IR Report

    Hi ,
    I have created IR Report based on the View so, it's been taking 10-15 mins of time to execute the IR Report. Here user want to see the Progress bar while executing the IR Report. How can i use Progress bar in IR Report.
    Anybody have idea on Progress bar please help me.
    Regards
    Narender B

    Hi ,
    Thanks for your information.
    I am new to the APEX.*i need to show Progress bar while opening the each page* then user can know some process is happening from the backside and i don't know where i need to add and call the below function.could you please provide the steps for the progress bar.
    In my application there are almost 100 pages are there so, i need to show progress bar on each page while opening .could you please provide Global function to call on each page.
    function html_url_Progress(pThis){ 
    $x_Show('AjaxLoading');
    window.setTimeout('$s("AjaxLoading",$x("AjaxLoading").innerHTML)', 100);
    //doSubmit('APPLY_CHANGES');
    redirect(pUrl);
    Regards
    Narender B

  • I have bought a iphone 4s from uk. but i face problem in using sim on it. this is updated with 6.0.1 version. this phone also hve a chip in sim plate. now how could i use it?

    i have bought a iphone 4s from uk. but i face problem in using sim on it. this is updated with 6.0.1 version. this phone also have a chip in sim plate. now how could i use it?

    Where did you purchase in UK and is the iPhone carrier locked ??

  • How could I update my apps that have my old Apple ID and how could I use face time

    How could I update my apps that have my old Apple ID n how could I use face time

    I can't help you if you don't know your Apple ID and/or password. You can change your password at: Manage My Apple ID. You will need to know the answers to your security questions. If you don't know those, then see the following:
    Alternatives for Help Resetting Security Questions and Rescue Mail
         1. Apple ID- All about Apple ID security questions.
         2. Rescue email address and how to reset Apple ID security questions
         3. Apple ID- Contacting Apple for help with Apple ID account security.
         4. Fill out and submit this form. Select the topic, Account Security.
         5.  Call Apple Customer Service: Contacting Apple for support in your
              country and ask to speak to Account Security.
    How to Manage your Apple ID: Manage My Apple ID

  • I don't know the owner I found an iPhone4 how could I use this???

    i don't know the owner how could I use this???

    If you found a phone you should take it to the police. You don't have the right to hang onto it. If it's not claimed after a period then you may be able to retain it. But in any case if it is 'Activation Locked' only the original owner can unlock it. There is no way round this, and without being able to contact him (and if you could you should return it) the phone is permanently unusable if locked in this way.

  • My Apple ID is only limited to Indonesia iTunes Store. I would like to buy some music from iTunes USA Store. How could I use my Indonesia-based credit card in order for me to buy music from another iTunes store? The iTunes Indonesia store is very limited.

    My Apple ID is only limited to Indonesia iTunes Store. I would like to buy some music from iTunes USA Store. How could I use my Indonesia-based credit card in order for me to buy music from another iTunes store? The iTunes Indonesia store is very limited as it only sells apps and books products.

    No Way... i've got simillar problem with bmonteo... wanna cry

  • How to use progress bar for Main and Subsequences in teststand

    HI,
    I have one main sequence in that I am calling different subsequences (Containing many steps and for loop).
    I am trying to use progress bar for this sequence, but my requirement is progressbar is able to show the progress of all the steps containing in Main and subsequences.
    I have developed sequence in that I am able to show the progress for only Main sequence steps not for subsequences steps.
    Is it possible? If yes please let me know the suggestions.
    Thank You

    Hi Santosh
    Here you are
    Greetings
    Juergen
    never Double Click on Submit
    Message Edited by j_dodek on 08-05-2008 08:05 AM
    =s=i=g=n=a=t=u=r=e= Click on the Star and see what happens :-) =s=i=g=n=a=t=u=r=e=
    Attachments:
    Progress_ts351.seq ‏52 KB

  • How can we use hyperlinks in forms 9i

    How can we use hyperlinks in forms 9i..
    I looked at the sample but it appears blank.
    Will you please tell me what is the code to hyperlink display items in forms 9i.
    Thanks in advance.

    Download the 10gR2 demo zip file. Its called "hyperlink". Note that this is a demo only and may or may not work the way you want or even as we intended. No QA has been performed on this PJC.

  • How to use progress bar

    Hi
    I am using jdev11.1.1.5.0
    I have created an adf application in which i have a select many shuttle to display data from database.
    On the radio button change event i am setting another where clause on associated vo and re-executing vo.
    Now the problem is that the processing takes few seconds to fetch data from database according to where condition. For the time being I want to display a progress bar to user.
    How it is possible....?
    Thanks...

    Read http://myjdeveloperhints.blogspot.de/2010/12/add-glass-pane-to-long-running-db-job.html...
    Here it's an example http://myjdeveloperhints.blogspot.de/2010/12/add-glass-pane-to-long-running-db-job.html
    Timo

  • How Could I use Java to program a SSL application?

    Hi, I am new Javar, I have a project. I need SSL and want to program with Java. Who could help me?
    Thanks!

    THanks! But I still do not know how to implement the interface.Such as HandshakeCompletedListener interface, how could I program a class to use it?
    Sorry for such simple question but I am very very new to java.

  • How could i use Creative Cloud subscription (one year) for two computers.. ?

    I successfully istalled the programms in my laptop, where i resistered for one year subscribtion. And than i tried to also install the same programms in Imac. But this didnt recognize my subscription. I used already tiral version in this Imac. So now just ask the serial nr or to buy.. how could i do to  ?

    uninstall anything cc on your 2nd computer that you may have installed.
    clean (http://www.adobe.com/support/contact/cscleanertool.html)
    then download and install onto your 2nd computer the cc desktop app, Download Adobe Creative Cloud apps | Free Adobe CC trial
    use the desktop app to install your cc programs.

  • How could I using synth to change the titledborder?

    I want to change the font and border image of titledborder, how could I do?

    http://java.sun.com/docs/books/tutorial/uiswing/components/border.html

  • How could I use airplay in the old Apple TV

    Please Someone knowk how can I use Airplay with my Iphone with an old Apple TV? Just the new ones appears on the Iphone.

    Welcome to the Apple community.
    The first-generation Apple TV does not support airplay, so you can not use it. It will support AirTunes, which is for audio only.

  • Need to use progress bar in my application

    hello friends,
    Actually i m using jsp filedownload and I am gettting my file in byte array and need to implement a progress bar while downloading file (as IE showing in status bar downloading file size ..% of total file size)...no fake progress bars and no stop gap solutions as like a gif moving with sign "plz wait ..file is downloading "
    plz help how to get this done
    My code
    HashMap result = (HashMap)request.getAttribute("requestParams");
         String type = request.getParameter("type");
         boolean isFile = false;
              if(result != null){
              String successFlag = (String) result.get("");
              String sFileName = null;
              byte[] bFile = null;
              String sContentType = null;
              if(successFlag != null && successFlag.equals("true")){
                   for(int i=0;i<result.size();i++){
                        sFileName = (String) result.get("FILENAME");
                        bFile = (byte[]) result.get("FILEDATA");
                        sContentType = (String) result.get("CONTENTTYPE");
                   response.reset();
                   if(null!=bFile) {
                        if(bFile.length>0){
                             if(sContentType == null || sContentType.equals("")){
                                  response.setContentType( "application/octet-stream" );
                             else response.setContentType(sContentType);
                             response.setHeader("Accept-Ranges", "bytes");
                             isFile = true;
                             response.setHeader("Content-Length", Integer.toString(bFile.length, 10));
                             if(null!=sFileName){
                                  if("view".equals(type)){
                                       if(null!=sFileName)response.setHeader("Content-Disposition","inline; filename=\""+sFileName+"\"");
                                  else{
                                       response.setHeader("Content-Disposition","attachment; filename=\""+sFileName+"\"");
                             ServletOutputStream outs = response.getOutputStream();
                             if(null!=bFile)outs.write(bFile);
                             outs.flush();
                             outs.close();
                             out.clear();
                             out = pageContext.pushBody();
                                       }

    You should get your keyboard fixed. There's a lot of letters missing from what you type and it makes it very hard for other people to read. It looks extremely inelegant.
    Anyway, your JSP isn't in control of the download. (You shouldn't have all that Java code in a JSP either but that's a separate issue.) All it does is to send the data to the browser, which is in charge of the download. And in all the browsers I use, there's a box which tells you how far the download has proceeded. No real need for a progress bar, even if you could persuade the browser to make one. Which you can't.

  • I don't know how to word this - "Progress bar" maybe???

    Hi Everyone!
    I've been a lurker here on occasion, but never posted. I'm sure this has been covered somewhere, but what I'm trying to do is place a "loading" page or progress bar that loads my pages before they're shown to the visitor...maybe an hourglass or a bar of some sort, y'know? I think it looks unprofessional to visit a site and watch each item as it loads. Know what I'm sayin'????

    Hi -- Welcome to the discussions. They're called animated Flash "preloaders" which show a progress bar, e.g.
    http://www.verticalmoon.com/products/swflockload/swflockload.htm
    ...but I'm not sure how practical it would be to use them for general web-page loading; perhaps another forum reader could chip in here.
    If you decide to experiment, you could try integrating preloaders into your site via either of the following:
    http://web.mac.com/cbrantly/iWeb/Software/iWeb%20Enhancer.html
    or...
    http://iweb.varkgirl.com
    (Click on the first "tip" link in the list)

Maybe you are looking for