While doing an upload on the web server, I cannot get the progress bar to update (the screen is frozen...and updated regularly only at the very end).
On the main stack I have a
Code: Select all
put ThePageContent into URL ("file:" & PagePath)
libURLSetStatusCallback "myProgress",the long ID of scrollbar "ScrollbarTC" of stack "attesa"
Code: Select all
on myProgress theURL,theStatus
lock screen
put theStatus into fld "ConnessioneFld" of stack "Attesa"
put the thumbPosition of scrollbar "ScrollbarTC" of stack "attesa" into conteggio
add 1 to conteggio
set the thumbPosition of scrollbar "ScrollbarTC" of stack "attesa" to conteggio
unlock screen
end myProgress
Code: Select all
put theStatus into fld "ConnessioneFld" of stack "Attesa"
Code: Select all
put theStatus & return after msg
No result without the lock unlock screen...
Any clue ?
Thanks