ProgressBarTray

Ask about the individual Gambas components here.
Post Reply
didier18
Posts: 38
Joined: Monday 19th December 2016 10:08pm

ProgressBarTray

Post by didier18 »

Hello

I just put in the "farm / example" of gambas a new component.
This is a ProgressBar managed in a TrayIcon (or title).
For details see the examples included.
The code is fully commented.
Thanks to Linuxos for his help.

Have a good day.
User avatar
jornmo
Site Admin
Posts: 224
Joined: Wednesday 21st September 2016 1:19pm
Location: Norway

Re: ProgressBarTray

Post by jornmo »

Good one :)

Check out my animation physics here: https://forum.gambas.one/viewtopic.php?f=6&t=12
if you'd like to implement some cool effects :D
didier18
Posts: 38
Joined: Monday 19th December 2016 10:08pm

Re: ProgressBarTray

Post by didier18 »

Hello jornmo

I looked at your animated gauge component.
I'm interested in that.
I would like to include it as pattern number 5 in the progressbartray.

Do you give me permission to copy and modify part of your code so that I can make the necessary adaptations?

Have a good day.
User avatar
jornmo
Site Admin
Posts: 224
Joined: Wednesday 21st September 2016 1:19pm
Location: Norway

Re: ProgressBarTray

Post by jornmo »

Help yourself :)
didier18
Posts: 38
Joined: Monday 19th December 2016 10:08pm

Re: ProgressBarTray

Post by didier18 »

Hello

I filed on "the farm" of gambas, progressbartray_2.1.24.
This last version includes the addition of motif 5. This is the circular pattern (code proposed by jornmo which I was inspired), thank you jornmo. I added in the example the possibility of changing the color of the progress bar according to the property "Value".

Have a good day
User avatar
cogier
Site Admin
Posts: 1118
Joined: Wednesday 21st September 2016 2:22pm
Location: Guernsey, Channel Islands

Re: ProgressBarTray

Post by cogier »

Hi Didier,

I have been looking at your program. I have created a UK English translation. This required a few lines being changed, see the attached file. I also looked at the Form layout and made some changes. Please feel free to use this or ignore it as you please.

Bonjour Didier,

J'ai regardé votre programme. J'ai créé une traduction anglaise du Royaume-Uni. Cela nécessitait quelques lignes en cours de modification, voir le fichier joint. J'ai également examiné la présentation du formulaire et effectué quelques modifications. N'hésitez pas à utiliser cela ou à l'ignorer comme vous le souhaitez.

Image
ProgressBarTrayCogier.tar
(260 KiB) Downloaded 597 times
Line_changes.txt.tar
(3 KiB) Downloaded 582 times
didier18
Posts: 38
Joined: Monday 19th December 2016 10:08pm

Re: ProgressBarTray

Post by didier18 »

---en---
Hello cogier

Thanks for the translation corrections.
As for the presentation, your proposal is more aesthetic than what I originally proposed. However, I noticed that when I switched "Label = False" then the "Extras" are no longer accessible ...

Have a good day.

---fr---
Bonjour cogier

Merci pour les corrections de traduction.
Concernant la présentation, votre proposition est plus esthétique que ce que je proposait à l'origine. Toutefois, j'ai remarqué que losque je basculais "Label=False" alors les "Extras" ne sont plus accessible...

Bonne journée.
Attachments
capture7557.png
capture7557.png (976.57 KiB) Viewed 14550 times
User avatar
cogier
Site Admin
Posts: 1118
Joined: Wednesday 21st September 2016 2:22pm
Location: Guernsey, Channel Islands

Re: ProgressBarTray

Post by cogier »

Hello Didier,

Sorry about that error. I think you will find I have fixed it now.

Bonjour Didier,

Désolé pour cette erreur. Je pense que vous trouverez que je l'ai réparé maintenant.

Image
ProgressBarTrayCogier.tar
(342 KiB) Downloaded 612 times
didier18
Posts: 38
Joined: Monday 19th December 2016 10:08pm

Re: ProgressBarTray

Post by didier18 »

--- en ---
Hello cogier

I have integrated the sample part with some modifications in the ProgressBarTray. This does not (in my opinion) constitute a major change to the component part or its functioning. Also, in order not to unnecessarily overload the server of the "Farm", I will put it online when the next evolution of functionality (new pattern or new property).

Have a good day.

--- fr ---
Bonjour cogier

J'ai intégré la partie exemple avec quelques modifications dans le ProgressBarTray. Cela ne constitue pas (a mon avis) un changement majeur sur la partie composant ou sur son fonctionnement. Aussi, afin de ne pas surcharger inutilement le serveur de la "Farm", je le mettrai en ligne lors de la prochaine évolution de fonctionalité (nouveau motif ou nouvelle propriété).

Bonne journée.
Attachments
170807_161130_1280x800_easyshot.jpg
170807_161130_1280x800_easyshot.jpg (93.46 KiB) Viewed 14538 times
Post Reply