NetTalk Central

Author Topic: NT6 how to refresh/reset button when progress reaches 100%  (Read 3692 times)

DonRidley

  • Don Ridley
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 729
  • donaldridley2011@gmail.com
    • View Profile
    • Email
NT6 how to refresh/reset button when progress reaches 100%
« on: December 18, 2011, 05:35:39 PM »
Hey Bruce,

I want to have the ability to reset/refresh a field when the progress control reaches 100%. 

Specifically, I am trying to un-hide a button when the progress control reaches 100%.

Thanks,

Don
"Eliminate the impossible, whatever remains, however unlikely, must be the truth."

NetTalk 12.55
Clarion 11

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: NT6 how to refresh/reset button when progress reaches 100%
« Reply #1 on: December 19, 2011, 02:36:36 AM »
look in the Value::ReportProgress routine (where Reportprogrss is the equate of the progress bar).
Last embed in the routine is called "After Value".

I think you can refresh another field from there using;
do refresh::somefield

cheers
Bruce

DonRidley

  • Don Ridley
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 729
  • donaldridley2011@gmail.com
    • View Profile
    • Email
Re: NT6 how to refresh/reset button when progress reaches 100%
« Reply #2 on: December 19, 2011, 03:34:55 AM »
Bruce,

That works but it behaves weird.  As the progress control does its thing, my email button appears on top of the progress control.  You can see both at the same time.  Then, when the progress control reaches 100%, the email button fully appears and the "Click here to download file" text is to the right.  According to the way I have the fields setup in the template, the email button should be at the bottom of all the other fields. 

I'll throw together an example app and send it to you today or tomorrow. 

Don
"Eliminate the impossible, whatever remains, however unlikely, must be the truth."

NetTalk 12.55
Clarion 11