2 Replies Latest reply: Dec 27, 2012 6:50 AM by yoonas RSS

    creating progress bar in oracle 6i forms

    968357
      hello guy,

      i have created 1 block for fetching punchin information of the employee.
      it is little mbit time consuming

      so i want to create one progess bar on the button click to show the user that process is going on..

      pl tell me how to do this?


      with regards
      vishal agrawal
        • 1. Re: creating progress bar in oracle 6i forms
          Sachinmrt
          Please always mantion the form version. try this :-


          WHEN-NEW-FORM-INSTANCE


          Declare

          My_Timer timer;
          Begin

          My_timer := Create_Timer('My_Timer', 1000, REPEAT);
          End;

          Set_Item_Property('Progress_Bar',Width,0);



          WHEN-TIMER-EXPIRED

          Declare
          Previous_Width Number(4);
          tm_Name Varchar2(20);
          Begin
          tm_Name := get_application_property(Timer_Name);
          If tm_Name = 'MY_TIMER' Then
          Previous_Width := Get_Item_Property('Progress_Bar',Width);
          If Previous_Width < 100 Then
          Set_Item_Property('Progress_Bar',Width, Previous_Width +1);
          :Position := To_Char(Previous_Width) +1 || '%';
          Synchronize;
          Else
          Delete_Timer('My_Timer');
          End If;
          End If;

          End;




          or use this link :-

          http://fdegrelle.over-blog.com/article-10986844.html

          Progress bar in forms-10g???
          • 2. Re: creating progress bar in oracle 6i forms
            yoonas
            Hi,

            {thread:id=2448743}
            {message:id=1161440}

            Regards
            Yoonas