Recent

Author Topic: BGRA example please  (Read 279 times)

RDP1974

  • New member
  • *
  • Posts: 9
BGRA example please
« on: September 14, 2019, 07:26:02 pm »
hello,
I'm newbie about TBGRA components

1) its possible to have a TBGRABitmap control with scrollbars?
2) can be possible to have a little piece of software that puts a layer and draw a text inside the layer?

Thank you

Thaddy

  • Hero Member
  • *****
  • Posts: 8868
Re: BGRA example please
« Reply #1 on: September 14, 2019, 08:52:07 pm »
hello,
I'm newbie about TBGRA components

1) its possible to have a TBGRABitmap control with scrollbars?
2) can be possible to have a little piece of software that puts a layer and draw a text inside the layer?

Thank you
1: the container needs the scrollbars... not the bitmap
2: there are many examples, provided the underlying image format supports transparency.
Most people that want to use threading should learn to patch their jeans first: use a needle.

winni

  • Sr. Member
  • ****
  • Posts: 307
Re: BGRA example please
« Reply #2 on: September 14, 2019, 09:03:41 pm »
Hi!

1. Place a TScrollBox (Page "Additional") on your form and place a BGRA component inside.

2.  BGRA tutorial with 16 chapters you can find here:
     https://wiki.freepascal.org/BGRABitmap_tutorial
     You will see that it's possible!

Winni

RDP1974

  • New member
  • *
  • Posts: 9
Re: BGRA example please
« Reply #3 on: September 15, 2019, 06:21:31 am »
Thank you, seems very well written.
But, Why bgra ribbon control doesn’t compile?
(Latest lazarus fpc, used onlinepackagemanager)