Recent

Author Topic: BGRA Controls  (Read 222417 times)

lainz

  • Hero Member
  • *****
  • Posts: 4460
    • https://lainz.github.io/
Re: BGRA Controls v4.4
« Reply #270 on: December 19, 2017, 08:30:29 pm »
Hi , my name is Ramiro ,

I want install package BGRA Control v4.4 , and found one error , please can you help me ??


This is error

lazarus 1.8

bcbutton.pas(407,4) Fatal: Cannot open include file "icons\bcbutton_icon.lrs"

Thanks in advance

Sorry my english

Hi, try using Online Package Manager to get BGRABitmap and BGRAControls.

seliman

  • New Member
  • *
  • Posts: 10
Re: BGRA Controls v4.4
« Reply #271 on: December 19, 2017, 11:21:49 pm »
Hi , my name is Ramiro ,

I want install package BGRA Control v4.4 , and found one error , please can you help me ??


This is error

lazarus 1.8

bcbutton.pas(407,4) Fatal: Cannot open include file "icons\bcbutton_icon.lrs"

Thanks in advance

Sorry my english

Hi, try using Online Package Manager to get BGRABitmap and BGRAControls.



Hi Lainz , yes I m to probe with Online Manager , but is the same error , I don t Know what make it  , the bcbutton_icon.lrs  is in your directory , but is not read , I m looking in google and not found nothing

Thanks in advance

lainz

  • Hero Member
  • *****
  • Posts: 4460
    • https://lainz.github.io/
Re: BGRA Controls v4.4
« Reply #272 on: December 19, 2017, 11:29:17 pm »
Hi again.. What's your OS and your Lazarus version?

seliman

  • New Member
  • *
  • Posts: 10
Re: BGRA Controls v4.4
« Reply #273 on: December 20, 2017, 12:35:57 am »
Hi again.. What's your OS and your Lazarus version?


Hi , thanks for you response , my OS is w7 64 bits , lazarus is 1,8 new installation 32 bits (lazarus-1.8.0-fpc-3.0.4-win32.exe) , this package is the only whats have one error ,I dont know whats happened

Thanks
« Last Edit: December 20, 2017, 12:59:00 am by seliman »

lainz

  • Hero Member
  • *****
  • Posts: 4460
    • https://lainz.github.io/
Re: BGRA Controls v4.4
« Reply #274 on: December 20, 2017, 01:36:47 am »
Hi again.. What's your OS and your Lazarus version?


Hi , thanks for you response , my OS is w7 64 bits , lazarus is 1,8 new installation 32 bits (lazarus-1.8.0-fpc-3.0.4-win32.exe) , this package is the only whats have one error ,I dont know whats happened

Thanks

Estoy instalando esa versión de Lazarus para probarlo. Pero tengo Windows 10 y el antivirus de Windows. Eso tambien puede ser que afecte, igualmente lo pruebo.

Edito: Instale la misma versión de Lazarus 1.8 32bit Windows, instale Online Package Manager de la carpeta de componentes y después instale BGRABitmap y BGRAControls, se puede instalar sin problemas.

Quizas hay algo con tu instalación o quizás tengas algún otro programa que hace conflicto con el programa que compila los recursos?

Antivirus?
« Last Edit: December 20, 2017, 01:43:19 am by lainz »

seliman

  • New Member
  • *
  • Posts: 10
Re: BGRA Controls v4.4
« Reply #275 on: December 20, 2017, 02:06:00 am »
Hi again.. What's your OS and your Lazarus version?


Hi , thanks for you response , my OS is w7 64 bits , lazarus is 1,8 new installation 32 bits (lazarus-1.8.0-fpc-3.0.4-win32.exe) , this package is the only whats have one error ,I dont know whats happened

Thanks

Estoy instalando esa versión de Lazarus para probarlo. Pero tengo Windows 10 y el antivirus de Windows. Eso tambien puede ser que afecte, igualmente lo pruebo.

Edito: Instale la misma versión de Lazarus 1.8 32bit Windows, instale Online Package Manager de la carpeta de componentes y después instale BGRABitmap y BGRAControls, se puede instalar sin problemas.

Quizas hay algo con tu instalación o quizás tengas algún otro programa que hace conflicto con el programa que compila los recursos?

Antivirus?


Mil Gracias .... ahora pruebo y te aviso si lo soluciono ....muchisimas gracias

seliman

  • New Member
  • *
  • Posts: 10
Re: BGRA Controls v4.4
« Reply #276 on: December 20, 2017, 07:51:37 pm »
Hi again.. What's your OS and your Lazarus version?


Hi , thanks for you response , my OS is w7 64 bits , lazarus is 1,8 new installation 32 bits (lazarus-1.8.0-fpc-3.0.4-win32.exe) , this package is the only whats have one error ,I dont know whats happened

Thanks

Estoy instalando esa versión de Lazarus para probarlo. Pero tengo Windows 10 y el antivirus de Windows. Eso tambien puede ser que afecte, igualmente lo pruebo.

Edito: Instale la misma versión de Lazarus 1.8 32bit Windows, instale Online Package Manager de la carpeta de componentes y después instale BGRABitmap y BGRAControls, se puede instalar sin problemas.

Quizas hay algo con tu instalación o quizás tengas algún otro programa que hace conflicto con el programa que compila los recursos?

Antivirus?

Hola Lainz , recien termino de poner en condiciones mi maquina ...al fin pude instalar sin problemas todo ...no se que habra pasado pero ahora anda todo

Mil gracias por tu apoyo ...y consejos

Muchisimas gracias


Saludos

lainz

  • Hero Member
  • *****
  • Posts: 4460
    • https://lainz.github.io/
Re: BGRA Controls v4.4
« Reply #277 on: December 22, 2017, 04:40:49 pm »
Hola Lainz , recien termino de poner en condiciones mi maquina ...al fin pude instalar sin problemas todo ...no se que habra pasado pero ahora anda todo

Mil gracias por tu apoyo ...y consejos

Muchisimas gracias


Saludos

De nada.

-----------------

BGRAControls 4.4.0.2

* In GitHub I've added TBCSVGViewer, a work in progress visual component to load and show SVG files, it uses of course BGRABitmap capability of loading SVG, that's actually beign improved, is not perfect right now so if your SVG is not loading well just wait.

* New package icons
« Last Edit: December 28, 2017, 10:34:56 pm by lainz »

six1

  • Full Member
  • ***
  • Posts: 117
Re: BGRA Controls v4.4.0.2
« Reply #278 on: January 03, 2018, 10:43:17 am »
Hi lainz,
first let me thank you for your great work on BGRA.

I've been using BCRadialProgressBar in one of my Projects.
It's ok so far, but LineWidth from Arc is fix at Object "Width / 50".
I've modified the Component for publishing LineWidth.
Would be great, if you will change it in official download.

Atached the fork of BCRadialProgressBar with changable LineWidth

Best, Michael
« Last Edit: January 03, 2018, 01:32:40 pm by six1 »

Thaddy

  • Hero Member
  • *****
  • Posts: 14213
  • Probably until I exterminate Putin.
Re: BGRA Controls v4.4.0.2
« Reply #279 on: January 03, 2018, 11:48:45 am »
I did not look at the code yet, but: "Width / 50"?
I would expect "Width div 50"......
Specialize a type, not a var.

six1

  • Full Member
  • ***
  • Posts: 117
Re: BGRA Controls v4.4.0.2
« Reply #280 on: January 03, 2018, 11:58:24 am »
...
it isn't width, it is height  ::) my fault...

FBitmap.Canvas2D.lineWidth := Height / 50;

Edit:
But you're right... maybe lineWidth accepts float  ::) and truncate value... who knows, but compiler doesn't throw error.

This is correct, because DIV returns INT Value of divide:
FBitmap.Canvas2D.lineWidth := Height DIV 50;


FBitmap.Canvas2D.lineWidth is type single... so all right

best, Michael   
« Last Edit: January 03, 2018, 01:39:57 pm by six1 »

lainz

  • Hero Member
  • *****
  • Posts: 4460
    • https://lainz.github.io/
Re: BGRA Controls v4.4.0.2
« Reply #281 on: January 03, 2018, 12:20:37 pm »
In fact the line width is Height / 50 because it's a single value not int. So it scales properly with the height, that's the metric I use to determine the size of the circle.

You published that as int or single?

And you must add something like when LineWidth = 0 draw the older way, to keep it compatible with old behaviour, that's the line shriks or grows with the height of the control.

I will try to add that when I finish my work today.
« Last Edit: January 03, 2018, 12:28:33 pm by lainz »

six1

  • Full Member
  • ***
  • Posts: 117
Re: BGRA Controls v4.4.0.2
« Reply #282 on: January 03, 2018, 01:01:42 pm »
Hi lainz,
i changed LineWidth to single.
If LineWidth Property is set to 0, then LineWidth is calculated as before (Height / 50)
in all other cases LineWidth is used to set Canvas2D.lineWidth

I corrected above Appendix...

best, Michael
« Last Edit: January 03, 2018, 01:35:47 pm by six1 »

lainz

  • Hero Member
  • *****
  • Posts: 4460
    • https://lainz.github.io/
Re: BGRA Controls v4.4.0.2
« Reply #283 on: January 03, 2018, 04:56:08 pm »
Thanks, tested and working well, I've commited that on Git.

six1

  • Full Member
  • ***
  • Posts: 117
Re: BGRA Controls v4.4.0.2
« Reply #284 on: January 03, 2018, 04:59:10 pm »
Thank you lainz!

It's a big help for me, if i had to reinstall Lazarus on new Versions...


Best, Michael

 

TinyPortal © 2005-2018