NetTalk Central

Author Topic: How to use a different busy.gif for each proc  (Read 4620 times)

Alberto

  • Hero Member
  • *****
  • Posts: 1873
    • MSN Messenger - alberto-michelis@hotmail.com
    • View Profile
    • ARMi software solutions
    • Email
How to use a different busy.gif for each proc
« on: May 27, 2020, 05:33:48 AM »
Hi,
Ive change the nt-busy class to use a different busy.gif centered.
If a proc takes a time to load a centered bigger gif is ok but thare are procs that loads almost inmediatly and a big gif is not ok, in that cases I need to use a smaller one and change its position not to be in the middle of the scrren.
How do I set a diffrent gif and position for a Form or Browse proc using CSS? or any other way.
Thanks
-----------
Regards
Alberto

Jane

  • Sr. Member
  • ****
  • Posts: 372
  • Expert on nothing with opinions on everything.
    • View Profile
    • Email
Re: How to use a different busy.gif for each proc
« Reply #1 on: May 27, 2020, 06:53:14 PM »
?? Maybe you could tweak the value of p_web.site.BusyImage to use the graphic you want in each case?

Alberto

  • Hero Member
  • *****
  • Posts: 1873
    • MSN Messenger - alberto-michelis@hotmail.com
    • View Profile
    • ARMi software solutions
    • Email
Re: How to use a different busy.gif for each proc
« Reply #2 on: May 28, 2020, 04:12:34 AM »
Thanks Jane, it works, Im doing:

IF INLIST(self.pagename,'mRuteoEntregas','mEcommers','uPedidoWeb')
    p_web.site.BusyImage = '/images/_busy_orig.gif'
ELSE
    p_web.site.BusyImage = '/images/_busy.gif'
END   

Now, how to deal with its position?
« Last Edit: May 28, 2020, 04:32:30 AM by michelis »
-----------
Regards
Alberto

miasoft

  • Newbie
  • *
  • Posts: 14
    • View Profile
    • Email
Re: How to use a different busy.gif for each proc
« Reply #3 on: June 01, 2020, 09:02:46 PM »
Where is embbed point?

Thanks Jane, it works, Im doing:

IF INLIST(self.pagename,'mRuteoEntregas','mEcommers','uPedidoWeb')
    p_web.site.BusyImage = '/images/_busy_orig.gif'
ELSE
    p_web.site.BusyImage = '/images/_busy.gif'
END   

Now, how to deal with its position?

Alberto

  • Hero Member
  • *****
  • Posts: 1873
    • MSN Messenger - alberto-michelis@hotmail.com
    • View Profile
    • ARMi software solutions
    • Email
Re: How to use a different busy.gif for each proc
« Reply #4 on: June 02, 2020, 03:59:20 AM »
ProcessLink
-----------
Regards
Alberto