Change the ubusyindicator | Uniface 10 Enterprise Edition | Forum

Avatar

Please consider registering
guest

sp_LogInOut Log In sp_Registration Register

Register | Lost password?
Advanced Search

—  Results per page  —








— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters
For a group of consecutive words like 'end of support' use Match phrase

sp_Feed Topic RSS sp_TopicIcon
Change the ubusyindicator
01 Nov 2018
11:08 pm
Avatar
bioalexy
Member
Forum Posts: 57
Member Since:
04 Sep 2014
sp_UserOfflineSmall Offline

Hello,

I wanted to know how can I change de loading indicator behavior from async to sync?

Thanks

02 Nov 2018
10:22 am
Avatar
gianni
Member
Forum Posts: 357
Member Since:
01 Oct 2012
sp_UserOfflineSmall Offline

Hi bioalexy,

Good question! I looked already in the past for the ubusyindicator to customize it but I was not able to find it:
I can only suppose is a small gif animation embedded as internal resource into Uniface runtime executable files.

Other Unifacers could have had more luck… 🙂

Gianni

02 Nov 2018
4:05 pm
Avatar
bioalexy
Member
Forum Posts: 57
Member Since:
04 Sep 2014
sp_UserOfflineSmall Offline

Hi gianni,

I was expecting some kind of instruction like “webmessage” with the switches and the properties parameter where you can change what the dialog shows, something like <instruction>/async or /sync.

Anyway, yesterday I was inspecting from the browser my webpage and the solution that I came up with was this:

The ubusyindicator is simply a div with the id=”UNIFACE.ubusyasync” and a class=”ubusyasync”, and the ubusyindicator.css with 2 classes selectors, ubusyasync and ubusysync.

With this information you can create a javascript where you get the div from the id and change between the 2 classes and override the selector from your own style.css and change the GIF shown.

Regards

02 Nov 2018
10:13 pm
Avatar
Theo Neeskens
Member
Forum Posts: 371
Member Since:
01 Oct 2012
sp_UserOfflineSmall Offline

Hi,

Changing the indicator is simple see my blog:
https://unifaceinfo.com/howtochangethebusyorprocessingindicator/

I do not know how the change the BEHAVIOR of the indicator.

Regards,

Theo Neeskens

Theo Neeskens, Uniface Consultant and general problem solver at ITBLOCKZ
Forum Timezone: Europe/Amsterdam

Most Users Ever Online: 131

Currently Online:
35 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

ulrich-merkel: 1890

Iain Sharp: 680

Theo Neeskens: 371

gianni: 357

Adrian Gosbell: 318

istiller: 299

rogerw: 272

Knut: 229

lalitpct: 197

Arjen van Vliet: 184

Member Stats:

Guest Posters: 3

Members: 10982

Moderators: 0

Admins: 6

Forum Stats:

Groups: 1

Forums: 62

Topics: 2323

Posts: 10052

Newest Members:

ovintunneu1970, greentipodent1976, NicolasHib, gipipufen1981, Alfredvax, Lesterpioto, crystalst3, otogsa12, Ramonmaw, harolddz1

Administrators: admin: 23, diseli: 1045, Nico Peereboom: 84, richiet: 406, Mike Taylor: 38, JanCees: 39