Page 1 of 1

Refreshrate on autrefresh in a browse

Posted: Wed Feb 24, 2010 9:43 am
by fursideup
Is there a way to use a codeblock to control the refreshrate in the AUTOREFRESH clause so it can be changed on the fly.

Re: Refreshrate on autrefresh in a browse

Posted: Wed Feb 24, 2010 12:03 pm
by rdonnay
You can't do it with a codeblock but you can change it on the fly in your code like so:

Code: Select all

oBrowse:timer:destroy()

oBrowse:refreshRate := 500

oBrowse:setTimerRefresh()