Recent

Author Topic: BGRA Controls  (Read 224345 times)

circular

  • Hero Member
  • *****
  • Posts: 4220
    • 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: 4468
    • https://lainz.github.io/
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...

circular

  • Hero Member
  • *****
  • Posts: 4220
    • 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: 4468
    • https://lainz.github.io/
Re: BGRA Controls
« Reply #393 on: May 03, 2020, 07:34:24 pm »

circular

  • Hero Member
  • *****
  • Posts: 4220
    • 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: 4468
    • https://lainz.github.io/
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

lainz

  • Hero Member
  • *****
  • Posts: 4468
    • https://lainz.github.io/
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.

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: 4468
    • https://lainz.github.io/
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

lainz

  • Hero Member
  • *****
  • Posts: 4468
    • https://lainz.github.io/
Re: BGRA Controls
« Reply #399 on: July 20, 2020, 04:24:28 pm »
BGRAControls 6.8
https://github.com/bgrabitmap/bgracontrols/releases/tag/v6.8

- Save / Load BCButton from JSON with cascading.
- Retina scaling (macOS) for some controls.
- ComboBox usage with arrow keys.

It requires BGRABitmap 11.2

balazsszekely

  • Guest
Re: BGRA Controls
« Reply #400 on: July 20, 2020, 05:29:41 pm »
Hi lainz,

How do you install BGRAControls (FPC 3.2.0/Lazarus 2.0.10 or trunk)? I always get the incompatible ppu error. It doesn't matter if I install it from OPM or manually.

lainz

  • Hero Member
  • *****
  • Posts: 4468
    • https://lainz.github.io/
Re: BGRA Controls
« Reply #401 on: July 20, 2020, 05:35:32 pm »
Hi, I have it already installed. I'm using trunk. So when I edit it just recompiles, or I recompile the IDE if we add more controls.

I will try on the newest release of Lazarus 2.0.10, but it should be working as well, what I do if the ppu error comes, is selecting the build options that cleans up all the files, that is the trick. The IDE takes more time to build but it works finally.

Edit: the build options -> I mean the Lazarus build options
« Last Edit: July 20, 2020, 05:46:40 pm by lainz »

balazsszekely

  • Guest
Re: BGRA Controls
« Reply #402 on: July 20, 2020, 05:54:41 pm »
Thanks, I did try the "Clean all" option in "Configure build Lazarus" dialog, still does not works for me. I attach the screenshot with the error.

lainz

  • Hero Member
  • *****
  • Posts: 4468
    • https://lainz.github.io/
Re: BGRA Controls
« Reply #403 on: July 20, 2020, 06:18:41 pm »
Hi GetMem, thanks for helping me to fix this.

I think I found the problem. Seems that there is a conflict when installing BGRABitmap and BGLControls (from BGRABitmap package) and then installing BGRAControls.

If I use OPM and I select only bgrabitmappack and bgracontrols with nothing more, it works.

Say that next I want to install BGLControls, then I get a similar problem:

bcbutton.pas(80,12) Fatal: Can't find unit BCButton used by bgracontrols

Can you reproduce this bug in this order of installing packages? BGRABitmap, BGRAControls, BGLControls.
« Last Edit: July 20, 2020, 06:20:54 pm by lainz »

balazsszekely

  • Guest
Re: BGRA Controls
« Reply #404 on: July 20, 2020, 06:30:33 pm »
Quote
I think I found the problem.
Cool.

Quote
If I use OPM and I select only bgrabitmappack and bgracontrols with nothing more, it works.
Yes. I can confirm this, BGRABitmap with BGRAControls can be installed without any issues. :)

Quote
Say that next I want to install BGLControls, then I get a similar problem:
This is also confirmed.

What solution do you propose? Isn't BGLControls from BGRABitmap an old version of BGRAControls(I'm just asking, I don't know)?


 

TinyPortal © 2005-2018