Recent

Author Topic: BGRA Controls  (Read 153096 times)

circular

  • Hero Member
  • *****
  • Posts: 3333
    • Personal webpage
Re: BGRA Controls
« Reply #390 on: May 02, 2020, 11:17:52 am »
@Lainz

Is there LCLVersion in uses clause?
Conscience is the debugger of the mind

lainz

  • Hero Member
  • *****
  • Posts: 3593
    • Lainz
Re: BGRA Controls
« Reply #391 on: May 03, 2020, 12:47:35 am »
@Lainz

Is there LCLVersion in uses clause?

Yes, I commited the changes in the dev branch. But it grayes out the code, I have LCL 2.1.0.0, for that i'm not sure if is working fine. The target is 2.0.8.0 that's one version where the code works...
https://lainz.github.io - My Website
https://lazpaint.github.io/ - LazPaint Downloads

circular

  • Hero Member
  • *****
  • Posts: 3333
    • Personal webpage
Re: BGRA Controls
« Reply #392 on: May 03, 2020, 06:32:11 pm »
Can you show me the code with the $IF?
Conscience is the debugger of the mind

lainz

  • Hero Member
  • *****
  • Posts: 3593
    • Lainz
Re: BGRA Controls
« Reply #393 on: May 03, 2020, 07:34:24 pm »
https://lainz.github.io - My Website
https://lazpaint.github.io/ - LazPaint Downloads

circular

  • Hero Member
  • *****
  • Posts: 3333
    • Personal webpage
Re: BGRA Controls
« Reply #394 on: May 03, 2020, 07:46:30 pm »
Oh indeed.

I think it is a bug in the source editor.

But in fact when it compiles, it is checked correctly.

You can try by adding an unknown identifier in the gray code to check that it is compiled.
Conscience is the debugger of the mind

lainz

  • Hero Member
  • *****
  • Posts: 3593
    • Lainz
Re: BGRA Controls
« Reply #395 on: May 04, 2020, 01:56:30 am »
Oh indeed.

I think it is a bug in the source editor.

But in fact when it compiles, it is checked correctly.

You can try by adding an unknown identifier in the gray code to check that it is compiled.

Thanks.

New release
https://github.com/bgrabitmap/bgracontrols/releases/tag/v6.7.1

- Compatibility with older Lazarus
https://lainz.github.io - My Website
https://lazpaint.github.io/ - LazPaint Downloads

lainz

  • Hero Member
  • *****
  • Posts: 3593
    • Lainz
Re: BGRA Controls
« Reply #396 on: May 28, 2020, 09:52:12 pm »
New release v6.7.2

Fix:
- Use parent form style in bccombobox. So it does not overlap other windows when the style is not fsStayOnTop.

And also we're starting to port BGRAControls to MSEide, the first change was using a Drawer unit in ProgressBar, next will be adding some ifdef's to use the same unit both in LCL and MSEide.

I started with ProgressBar since is one of the units that has less lines of code, well written BTW.

Due to this change now you must use BarColor in our ProgressBar instead of Color.
https://lainz.github.io - My Website
https://lazpaint.github.io/ - LazPaint Downloads

mb

  • New Member
  • *
  • Posts: 10
Re: BGRA Controls
« Reply #397 on: June 02, 2020, 07:13:17 pm »
There seems to be a bug in control "BcRadialProgressbar".
Changing property "Color" in editor does not change Preview until I also change "FontShadowColor".

lainz

  • Hero Member
  • *****
  • Posts: 3593
    • Lainz
Re: BGRA Controls
« Reply #398 on: June 03, 2020, 01:00:13 am »
There seems to be a bug in control "BcRadialProgressbar".
Changing property "Color" in editor does not change Preview until I also change "FontShadowColor".

ok, im adding the bug report in the issues on github
https://lainz.github.io - My Website
https://lazpaint.github.io/ - LazPaint Downloads

 

TinyPortal © 2005-2018