Recent

Author Topic: BGRA Controls  (Read 5634 times)

Student043

  • New Member
  • *
  • Posts: 27
BGRA Controls
« on: November 26, 2015, 01:43:00 pm »
Could someone help me installing the “BGRAControls”. I have already tried a lot, but I am not able to install it properly.

BGRAControls link: http://wiki.freepascal.org/BGRAControls

I look forward to hearing from you soon.

balazsszekely

  • Guest
Re: BGRA Controls
« Reply #1 on: November 26, 2015, 03:00:18 pm »
Hi Student043,

Welcome to the forum.
1. Download "bgrabitmap8.7.zip" from: http://sourceforge.net/projects/lazpaint/files/src/
2. Unzip to Component directory
3. Open then compile bgrabitmappack.lpk
4. Create/Open a project. Go to Menu-->Project-->Project Inspector-->Required packages-->Right Click-->Add-->Package Name-->type BGRABitmapPack-->Create new Requirement
5. Add  BGRABitmap to the uses clauses

regards,
GetMem

Student043

  • New Member
  • *
  • Posts: 27
Re: BGRA Controls
« Reply #2 on: November 26, 2015, 04:13:51 pm »
Dear GetMem,

Thank you very much for you fast and clear response, but it doesn't seem to work for me. I think something went wrong with "Add-->Package Name-->type BGRABitmapPack". Which file do I have to choose?

Thanks in advance.

Regards,

Student043


Josh

  • Hero Member
  • *****
  • Posts: 1271
Re: BGRA Controls
« Reply #3 on: November 26, 2015, 04:45:27 pm »
Hi
If you download the following 2 zip files and extract them to wherever you have your thirdparty components folder

My Folder Structure is very simple one
Main Folder is called 'My_Projects_And_Components' and within this folder I have folders called 'Projects' and another called 'Components'.

http://sourceforge.net/projects/lazpaint/files/src/bgrabitmap8.7.zip/download

http://sourceforge.net/projects/bgra-controls/files/bgra-controls-3.0/bgracontrols-3.6-2015-05-02.zip/download

Once you have extracted these 2 files, install the bgrabitmappack.lpk package ( there are others if you are using fpgui opengl etc).
Once this has compiled, you can now compile and install the bgracontrols.lpk package. (you will get a prompt saying it will install bgrabitmap 8.7; just click ok).
When it has finished the install, it wil prompt you to rebuild lazarus. Click Yes, when it has finished you will see the BGRAcontrol tab with all the controls in your pallette at the top.

Note the BGRABITMAP does not have a any visual controls.

Hope that helps in getting you going.

Josh.
The best way to get accurate information on the forum is to post something wrong and wait for corrections.

Student043

  • New Member
  • *
  • Posts: 27
Re: BGRA Controls
« Reply #4 on: November 27, 2015, 05:38:06 pm »
Dear Josh,

I would like to thank you very sincerely. Thanks to you I finally managed to install the BGRAControls.

Thank you for your help in this matter.

Regards,

Student043

Student043

  • New Member
  • *
  • Posts: 27
Re: BGRA Controls
« Reply #5 on: December 01, 2015, 09:05:17 am »
Dear Josh,

Everything works properly, but I don't know how to use the TBCXbutton and how to change the TBCbutton's color.

Thanking you in advance.

Regards,

Student043

 

TinyPortal © 2005-2018