I’m trying to figure out a way to display a simple animated gif when the user presses the ‘search’ button.
I placed a gif on my form and hide it via the onShow event of the form.
In the method that is invoked when the user presses the ‘search’ button the first line of code unhides the gif - the last line of code in the method hides the gif once again.
The problem is that the gif never shows up.
code in the ‘search’ method…
function doCustomQuery()
{
//showPleaseWait();
showBusyBar();
var sqlstring = ""+
"select distinct seis_set_id from seis_set a "+
"where a.seis_set_type = 'SEIS_LINE' ";
var sqlstring1 = '';
...
hideBusyBar();
}
The showBusyBar() and hideBusyBar() methods are really simple…
function showBusyBar()
{
elements.busyBar.visible = true;
application.updateUI();
}
function hideBusyBar()
{
elements.busyBar.visible = false;
application.updateUI();
}
Is there a way to do this ?
This is a web-client deployment scenario and not Smart client.
Thanks in advance
Mark