Refreshrate on autrefresh in a browse

This forum is for eXpress++ general support.
Post Reply
Message
Author
fursideup
Posts: 8
Joined: Tue Feb 02, 2010 2:26 pm
Location: Gates Canyon, California

Refreshrate on autrefresh in a browse

#1 Post 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.
Jon Steven

User avatar
rdonnay
Site Admin
Posts: 4813
Joined: Wed Jan 27, 2010 6:58 pm
Location: Boise, Idaho USA
Contact:

Re: Refreshrate on autrefresh in a browse

#2 Post 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()
The eXpress train is coming - and it has more cars.

Post Reply