Hi Experts,
My requirement is to auto refresh a form every 1 min. I have a custom form and I created a new button - Refresh .I have written a code on Button click for this but getting error.
[Control("Button")]
class Refresh
{
///
///
///
///
public void clicked()
{
int msInterval;
super();
this.visible(false);
Refresh.visible(true);
this.cancelTimeOut(timeOut);
msInterval = 1 * 60 * 1000; // Refresh every minute
StockPredictions_CAP_ds.research(true);
StockPredictions_CAP_ds.findRecord(StockPredictions_CAP_ds.getFirst());
Object task = this.setTimeOut(identifierstr(this), methodStr(Refresh, clicked), msInterval, false);
Refresh.visible(true);
}
}