NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: JohanR on June 09, 2014, 01:37:16 AM
-
Hi,
I have a display field with text in it and I would like to update this field as some of my code is executing.
Like a progress control, except with text not a percentage.
One of 2 options
1) On a form I have a button executing some server side code and would like to update a display field on the form as things are happening.
2) Call new form and part of the INIT is the progressive process and updating of the text and once the form is completely generated, then the result is shown.
Seems as if using sendpacket and a netwebsource procedure could work, but not quite sure of exactly how or what best practice would be.
thanks
Johan
eg.
loc:info = 'started A'
do some_process_a
loc:info = 'started B'
do some_process_a
loc:info = 'started C'
do some_process_a
loc:info = 'started D'
do some_process_a
loc:info = 'all done'
-
Hi Johan,
>> Like a progress control, except with text not a percentage.
Progress controls are not trivial, so turning a "Display" into a progress is likely outside your skillset right now.
However you _may_ be able to refresh a Display field when the progress updates - I haven't tried this, but experiment with Reset fields and so on...
cheers
Bruce
-
Hi Bruce
thanks for the reply.
I did try the reset with no effect, but will play with this a bit more.
thanks
Johan