NetTalk Central

Author Topic: Busy gif reseting a browse  (Read 3106 times)

Alberto

  • Hero Member
  • *****
  • Posts: 1871
    • MSN Messenger - alberto-michelis@hotmail.com
    • View Profile
    • ARMi software solutions
    • Email
Busy gif reseting a browse
« on: April 01, 2009, 07:29:42 AM »
Hi,

I have a memory form with a browse which shows several records.
The browse is file loaded.
The records are added to the table with a routine at the beggining of the browseproc.
Besides, I have some buttons which resets that browse.

How can I activate the busy.gif while inserting the records and refreshing the browse, and every time I press the resets buttons?

Thanks
Alberto


-----------
Regards
Alberto

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11244
    • View Profile
Re: Busy gif reseting a browse
« Reply #1 on: April 01, 2009, 08:58:12 PM »
Hi Alberto,

The busy.gif is an image on the page that is unhidden when _asyncronous_ calls occur. Since you have not yet generated the page, and sent it to the browser, you can't do anything with it, since it does not exist....

The best you can do is send an (unhidden) one to the browser before you start filling your browse, and then add javascript to the page to hide it as soon as the page appears.

Cheers
Bruce