Recent

Author Topic: BGRA Controls  (Read 222335 times)

lainz

  • Hero Member
  • *****
  • Posts: 4460
    • https://lainz.github.io/
Re: BGRA Controls v4.4.0.2
« Reply #285 on: January 12, 2018, 07:13:42 pm »
Now on Git: you can try the new SVG Viewer improved by @circular. Stretch, align and proportional settings added.

You can download it with dev-bgrabitmap and dev-bgracontrols branches for now, until it get released.

lainz

  • Hero Member
  • *****
  • Posts: 4460
    • https://lainz.github.io/
Re: BGRA Controls v4.4.0.3
« Reply #286 on: January 19, 2018, 02:48:35 pm »
BGRAControls 4.4.0.3
- Added Toggle option in TColorSpeedButton

lainz

  • Hero Member
  • *****
  • Posts: 4460
    • https://lainz.github.io/
Re: BGRA Controls v4.5
« Reply #287 on: January 20, 2018, 03:30:12 pm »
BGRAControls v4.5
- Improvements to SVG Viewer by @circular17
- New SVG Viewer test project

Notice that you need BGRABitmap 9.6
« Last Edit: January 20, 2018, 03:48:49 pm by lainz »

Phoenix

  • Jr. Member
  • **
  • Posts: 87
Re: BGRA Controls v4.5
« Reply #288 on: January 20, 2018, 04:53:02 pm »
Thanks for this new release !!!  :D

Paul_

  • Full Member
  • ***
  • Posts: 143
Re: BGRA Controls v4.5
« Reply #289 on: January 21, 2018, 09:54:37 pm »
Code: Pascal  [Select][+][-]
  1. procedure TForm1.BGRASpeedButton1DblClick(Sender: TObject);
  2. begin
  3.   if colordialog1.Execute then
  4.     ChangeToolColor( colordialog1.Color );
  5. end;  
  6.  

BGRASpeedButton have doubleclick event but it looks like it's not working.

lainz

  • Hero Member
  • *****
  • Posts: 4460
    • https://lainz.github.io/
Re: BGRA Controls v4.5
« Reply #290 on: January 21, 2018, 10:55:16 pm »
Code: Pascal  [Select][+][-]
  1. procedure TForm1.BGRASpeedButton1DblClick(Sender: TObject);
  2. begin
  3.   if colordialog1.Execute then
  4.     ChangeToolColor( colordialog1.Color );
  5. end;  
  6.  

BGRASpeedButton have doubleclick event but it looks like it's not working.

I can do nothing, that is a bug in TSpeedButton, TBGRASpeedButton only changes the glyph. Report the bug for TSpeedButton in the bugtracker.

Paul_

  • Full Member
  • ***
  • Posts: 143
Re: BGRA Controls v4.5
« Reply #291 on: January 22, 2018, 12:15:15 am »
Ok thanks.

I found thats standard behavior for some reason. And with groupindex > 0 it's ok.


tr_escape

  • Sr. Member
  • ****
  • Posts: 432
  • sector name toys | respect to spectre
    • Github:
Re: BGRA Controls v4.5
« Reply #292 on: January 24, 2018, 09:58:25 am »
Hello,

I am trying to left menu with bgracontrols and I have a question about button text style.

Is it possible to use button's text style as Tpanel's text style?

I mean bgracontrols has centered text style but I need left , right and of course center too.

In attach you can see what I mean.

lainz

  • Hero Member
  • *****
  • Posts: 4460
    • https://lainz.github.io/
Re: BGRA Controls v4.5
« Reply #293 on: January 24, 2018, 12:15:49 pm »
Hello,

I am trying to left menu with bgracontrols and I have a question about button text style.

Is it possible to use button's text style as Tpanel's text style?

I mean bgracontrols has centered text style but I need left , right and of course center too.

In attach you can see what I mean.

BCButton1.StateNormal.FontEx.TextAlignment := bcaLeftCenter;

There are more states: StateClicked and StateHover. And more alignments for text.

lainz

  • Hero Member
  • *****
  • Posts: 4460
    • https://lainz.github.io/
Re: BGRA Controls v4.3.2
« Reply #294 on: February 06, 2018, 11:59:48 pm »
Hi
I am having a problem where BCLabel and BCButton is not displaying Russian, all I get is [][][][]....
A standard TLabel is displaying correctly when I select Eurostile or Gill San Font ( these are the 2 main ones I use), when i change fontex to same font; i get the above.

Hi Josh, seems that this was a Lazarus bug fixed in 1.8, can you confirm?

Josh

  • Hero Member
  • *****
  • Posts: 1271
Re: BGRA Controls v4.5
« Reply #295 on: February 07, 2018, 12:20:23 am »
Hi Lainz,

I do not have a 1.8 installed on this machine, I have the lateset Trunk (laz and FPC) updated this morning.

Unfortunately the problem is still there, image attached.


I can try on 1.8 probably tomorrow.

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

Josh

  • Hero Member
  • *****
  • Posts: 1271
Re: BGRA Controls v4.5
« Reply #296 on: February 07, 2018, 12:25:01 am »
Just tested on mac mini that has 1.8 installed, and the issue is still there.

The Russian shows when the default font is used, but when font name is changed to Eurostile then i get the boxes.
Using standard TLabel, Tmemo, etc then the russian is displayed ok when font is changed to Eurostile.

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

lainz

  • Hero Member
  • *****
  • Posts: 4460
    • https://lainz.github.io/
Re: BGRA Controls v4.5
« Reply #297 on: February 07, 2018, 12:36:00 am »
Just tested on mac mini that has 1.8 installed, and the issue is still there.

The Russian shows when the default font is used, but when font name is changed to Eurostile then i get the boxes.
Using standard TLabel, Tmemo, etc then the russian is displayed ok when font is changed to Eurostile.

Hope it helps

Ok thanks.

Josh

  • Hero Member
  • *****
  • Posts: 1271
Re: BGRA Controls v4.5
« Reply #298 on: February 07, 2018, 01:16:21 am »
The Odd thing is that it is not all fonts

See pic using century gothic font all is ok.

But using the ones that fail causes a problem as the fonts display ok with standard controls and textout routines.
The best way to get accurate information on the forum is to post something wrong and wait for corrections.

lainz

  • Hero Member
  • *****
  • Posts: 4460
    • https://lainz.github.io/
Re: BGRA Controls v4.5
« Reply #299 on: February 07, 2018, 11:06:31 pm »
Hi josh, the bug in GitHub was closed as can't fix, @circular says he can do nothing to fix this.  :(

 

TinyPortal © 2005-2018