Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Programming
»
Packages and Libraries
»
Lazarus Extra Components
»
mbColorLib typo in function GetBlue
Free Pascal
Website
Downloads
Wiki
Bugtracker
Mailing List
Lazarus
Website
Downloads (Laz+FPC)
Packages (OPM)
FAQ
Wiki
Bugtracker
CCR Bugs
IRC channel
GIT
Mailing List
Other languages
Foundation
Website
Useful Wiki Links
Project Roadmap
Getting the Source
Screenshots
How to use the forum
About donations (wiki)
Bookstore
Computer Math and Games in Pascal
(preview)
Lazarus Handbook
Search
Advanced search
Recent
Controls inside the form ...
by
GetMem
[
Today
at 08:11:31 am]
BUG: OnExit and ComboBox
by
KodeZwerg
[
Today
at 08:10:46 am]
File not open??? Why?
by
KodeZwerg
[
Today
at 08:07:49 am]
Faster responding Code Ex...
by
KodeZwerg
[
Today
at 07:00:19 am]
A few demos on how to use...
by
Thaddy
[
Today
at 06:47:29 am]
CheckComboBox Item Width
by
seany
[
Today
at 04:46:37 am]
Menu Bar Text Color
by
seany
[
Today
at 04:22:28 am]
Links in forum posts
by
440bx
[
Today
at 03:05:40 am]
DBCheckbox show some text...
by
eldonfsr
[
Today
at 03:04:00 am]
Is there a function calle...
by
OC DelGuy
[
Today
at 01:55:20 am]
« previous
next »
Print
Pages: [
1
]
Author
Topic: mbColorLib typo in function GetBlue (Read 2657 times)
indydev
New Member
Posts: 32
mbColorLib typo in function GetBlue
«
on:
September 03, 2021, 01:49:28 am »
I was using mbColorLib and noticed that the property Blue was retreiving the wrong color (red). A look at the source reveals that the function GetBlue was calling GetRValue instead of GetBValue:
Code: Pascal
[Select]
[+]
[-]
function
THSLRingPicker
.
GetBlue
:
Integer
;
begin
Result
:
=
GetRValue
(
FSelectedColor
)
;
end
;
As this code is installed from the sourceforge ccr I couldn't figure out where notify a maintainer. The port to Lazarus was done by Werner Pamler
Logged
trev
Global Moderator
Hero Member
Posts: 2004
Former Delphi 1-7, 10.2 user
Re: mbColorLib typo in function GetBlue
«
Reply #1 on:
September 03, 2021, 02:47:08 am »
If you look at the Forum's left column, you should see a link for "CCR Bugs", follow the link and report the bug.
Logged
Lazarus 2.3, FPC 3.3.1 macOS 12.6.1 x86_64 Xcode 14.1
Lazarus 2.3, FPC 3.3.1 macOS 12.6.1 aarch64 Xcode 14.1
wp
Hero Member
Posts: 10469
Re: mbColorLib typo in function GetBlue
«
Reply #2 on:
September 03, 2021, 10:02:58 am »
Fixed in the CCR version. Thanks for reporting.
Logged
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Forum
»
Programming
»
Packages and Libraries
»
Lazarus Extra Components
»
mbColorLib typo in function GetBlue
TinyPortal
© 2005-2018