Progress hides

Mac OSX specific forum
codeit
User
User
Posts: 62
Joined: Sat Apr 15, 2017 5:53 pm
Location: Leicestershire

Progress hides

Post by codeit »

Hello all,
Has anyone noticed how the Progress bar line disapears when the app loses focus?
Is there a way around this so it stays there all the time

Thanks
walbus
Addict
Addict
Posts: 929
Joined: Sat Mar 02, 2013 9:17 am

Re: Progress hides

Post by walbus »

You can use simple the progressbar ex ....

http://www.purebasic.fr/english/viewtop ... 12&t=68732
User avatar
Mijikai
Addict
Addict
Posts: 1360
Joined: Sun Sep 11, 2016 2:17 pm

Re: Progress hides

Post by Mijikai »

Use ResizeGadget() to redraw the desired gadget.
I used this technic im my Progressbar :)
Another option would be WaitWindowEvent() with a short delay.
(Or some OS-Api that triggers a region to be redrawn like InvalidateRgn_() on Windows)

Example Progressbar (Zombie free):
http://www.purebasic.fr/english/viewtop ... 12&t=68739
walbus
Addict
Addict
Posts: 929
Joined: Sat Mar 02, 2013 9:17 am

Re: Progress hides

Post by walbus »

Mijikai wrote: Example Progressbar (Zombie free):
I think we urgently need a forum for beginners - poor level
Image
User avatar
Mijikai
Addict
Addict
Posts: 1360
Joined: Sun Sep 11, 2016 2:17 pm

Re: Progress hides

Post by Mijikai »

Srsly stop posting spam walbus...
Btw. u did not even answer the Question.
Grow up for once :lol:
walbus
Addict
Addict
Posts: 929
Joined: Sat Mar 02, 2013 9:17 am

Re: Progress hides

Post by walbus »

I like this , beginning spam and hating and say to my i should stop it
Mijikai wrote: Example Progressbar (Zombie free):
Mijikai wrote: Srsly stop posting spam walbus...
Btw. u did not even answer the Question.
Grow up for once :lol:
User avatar
Mijikai
Addict
Addict
Posts: 1360
Joined: Sun Sep 11, 2016 2:17 pm

Re: Progress hides

Post by Mijikai »

walbus wrote:I like this , beginning spam and hating and say to my i should stop it
Mijikai wrote: Example Progressbar (Zombie free):
That quote does not even make sense - u cant just ignore the actual content of my post.

And just a note:
Ur posts are unfriendly and unprofessional.
Do u really want to portray yourself like this?

Ps: Dont edit your posts to say something different!
walbus
Addict
Addict
Posts: 929
Joined: Sat Mar 02, 2013 9:17 am

Re: Progress hides

Post by walbus »

I say you again, you become not answers from my, never
I discuss not with beginners, search a other for your flaming and damaging the forum - finished
Post Reply