progress bar bug

General discussion on Visual GLCD Software.
Post Reply
Author
Message
antonadc
Posts: 277
Joined: 14 Dec 2012 10:15
Location: Pretoria South Africa

progress bar bug

#1 Post by antonadc » 14 Feb 2016 11:36

Hello Me Team just a bit of feedback on your brilliant program. I played around with the progress bar. Made it without round corners. When the bar reaches the top it seems to delete the right hand line.
Also the number is a pixel to high so as when the bar moves right it only shows a line below the number and not on top. I have included 2 pics to show the problem. Thank you and hope to see an update soon showing the corrections.

Anton
Attachments
screen2.jpg
screen2.jpg (80.5 KiB) Viewed 7419 times
screen1.jpg
screen1.jpg (69.73 KiB) Viewed 7419 times

User avatar
biljana.nedeljkovic
mikroElektronika team
Posts: 1043
Joined: 30 Jun 2015 15:15

Re: progress bar bug

#2 Post by biljana.nedeljkovic » 17 Feb 2016 14:50

Hello,

Thank you for the feedback.

Can you attach your project so I can see it and run some tests myself?

Which MCU have you used with it?

Kind regards,
Biljana

antonadc
Posts: 277
Joined: 14 Dec 2012 10:15
Location: Pretoria South Africa

Re: progress bar bug

#3 Post by antonadc » 18 Feb 2016 13:20

Please find attached code. I am using a 18f452 or a 18f4620
Could not load zip file I get the following error
''Sorry, the board attachment quota has been reached."

All You do is to place a progress bar on a screen with 2 buttons up and down I set the max and min to 0 and 10 and write code to make the progress bar go up and down

progressbar1.position=progressbar1.position+1 ect
if progressbar1.position>9 then
progressbar1.position=10
end if

Anton

User avatar
biljana.nedeljkovic
mikroElektronika team
Posts: 1043
Joined: 30 Jun 2015 15:15

Re: progress bar bug

#4 Post by biljana.nedeljkovic » 18 Feb 2016 15:12

Hello,

You can add the project now.

I apologize for the inconvenience.

Best regards,
Biljana

antonadc
Posts: 277
Joined: 14 Dec 2012 10:15
Location: Pretoria South Africa

Re: progress bar bug

#5 Post by antonadc » 19 Feb 2016 06:49

Please find attached code.
Attachments
test.zip
(428.74 KiB) Downloaded 179 times

antonadc
Posts: 277
Joined: 14 Dec 2012 10:15
Location: Pretoria South Africa

Re: progress bar bug

#6 Post by antonadc » 02 Mar 2016 15:25

Wow still no reply please change the progress bar in the demo to a square one to see the problem.

Anton

User avatar
biljana.nedeljkovic
mikroElektronika team
Posts: 1043
Joined: 30 Jun 2015 15:15

Re: progress bar bug

#7 Post by biljana.nedeljkovic » 11 Mar 2016 21:21

Hello,

I have tried to put the progress bar, I haven't had those problems.

Can you tell me which hardware do you use?

I apologize for the late reply.
I would like to reproduce the same issue in order to help you solve it in the short notice.

Best regards,
Biljana

antonadc
Posts: 277
Joined: 14 Dec 2012 10:15
Location: Pretoria South Africa

Re: progress bar bug

#8 Post by antonadc » 14 Mar 2016 07:29

Thank you for your reply.
I use custom board but ks108 display. Please try and put square progress bar and say from 0-10 when bar gets to 10 it wipes out the right hand line. The bar goes one pixel to much. Use progress bar with rounded set to false , off.

Thanks

Anton

User avatar
biljana.nedeljkovic
mikroElektronika team
Posts: 1043
Joined: 30 Jun 2015 15:15

Re: progress bar bug

#9 Post by biljana.nedeljkovic » 16 Mar 2016 17:09

Hello Anton,

Thank you for reporting this. I was able to reproduce the error.

The issue is that Corner radius cannot be set to zero in VisualGLCD.
Please set it to zero in the compiler once you generate the code.

We are working on getting this minor bug fixed as soon as possible.

Thank you so much for reporting this.

Best regards,
Biljana

Post Reply

Return to “Visual GLCD General”