Recent

Author Topic: TSpeedButton.Color is not working for Raspbian-Jessie  (Read 1705 times)

ertank

  • Sr. Member
  • ****
  • Posts: 274
TSpeedButton.Color is not working for Raspbian-Jessie
« on: July 13, 2017, 09:27:02 pm »
Hi,

Using Lazarus 1.8.0RC3 svn: 55410, fpc 3.1.1/trunk svn: 36609. Device is a Raspberry Pi 3 running Linux raspberrypi 4.9.24-v7+ #993 SMP Wed Apr 26 18:01:23 BST 2017 armv7l GNU/Linux

When I set Transparent to False and Color to something other than default for a TSpeedButton, I do not see color changing on the form. I do not see color changing at run-time.

Is it platform dependent? Or, I should do some other things to have it working as expected?

Any help is appreciated.

Thanks & regards,
Ertan
« Last Edit: July 13, 2017, 09:29:51 pm by ertank »

ertank

  • Sr. Member
  • ****
  • Posts: 274
Re: TSpeedButton.Color is not working for Raspbian-Jessie
« Reply #1 on: July 19, 2017, 09:38:38 pm »
After all trials it seems that Color property can be used only if below are set.
Code: [Select]
TSpeedButton.Flat := True;
TSpeedButton.Transparent := False;

 

TinyPortal © 2005-2018