NetTalk Central

Author Topic: Displaying some animation until end of process...  (Read 4830 times)

oggy

  • Full Member
  • ***
  • Posts: 219
    • View Profile
    • Email
Displaying some animation until end of process...
« on: July 19, 2010, 02:52:32 AM »
I need to create some process that can be very long and my costumer need to know in which stage that process is. How to put some, lets say, "visual", to be like prop:progress in ABC Clarion code? This can be some animated gif or something else...
Where to put code to display animation until process is over?
This process can be anything frrom 20 sec up to 5 mins?
Regards, Ozren.

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Displaying some animation until end of process...
« Reply #1 on: July 19, 2010, 08:40:43 AM »
Hi Ozren,

You need to put the question in context.
what triggers the process? is it a link, a button, some event?

what is the user expecting back when the process completes?

cheers
Bruce

oggy

  • Full Member
  • ***
  • Posts: 219
    • View Profile
    • Email
Re: Displaying some animation until end of process...
« Reply #2 on: July 19, 2010, 09:56:25 PM »
Thanks for quick answer. The process will start when customer press button. Result is some filtered browse (I know how to filter it). Before the process end I want to show some animation to customer because some of them just trying to press F5 refresh button or even close the starting page.

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Displaying some animation until end of process...
« Reply #3 on: July 20, 2010, 01:02:16 AM »
What button are they pressing? A button on the browse row?
When the process is finished is the browse itself updated, or does a whole different page appear?
ie is your button a "submit" button or a "button button". Does it have a URL?

Sorry for all the questions, but the answer is different for different cases.

Cheers
Bruce

oggy

  • Full Member
  • ***
  • Posts: 219
    • View Profile
    • Email
Re: Displaying some animation until end of process...
« Reply #4 on: July 20, 2010, 01:09:56 AM »
This is Select button on other (selecting) browse. After opening and on selecting some product code from that selecting browse, I want to display some animation (gif or something). I dont want my customer staring in blank page until process of filterin-rangeing is over.
Regards, Ozren.

ccordes

  • Sr. Member
  • ****
  • Posts: 384
    • View Profile
    • Email
Re: Displaying some animation until end of process...
« Reply #5 on: July 22, 2010, 04:24:54 PM »
I do this when importing the client's data into the main data base.
I posted it here a long time ago.
http://www.nettalkcentral.com/index.php?option=com_smf&Itemid=36&topic=200.0
and
http://www.nettalkcentral.com/index.php?option=com_smf&Itemid=36&topic=201.0
It is pretty simple but you need to send packets to the browser so it doesn't time out on you while you're working.

HTH,
Chris
Real programmers use copy con newapp.exe

oggy

  • Full Member
  • ***
  • Posts: 219
    • View Profile
    • Email
Re: Displaying some animation until end of process...
« Reply #6 on: July 22, 2010, 11:48:04 PM »
Thats a very good starting point for me to watch it.
Thanks all of you guys, for quick help.
Regards, Ozren