Recent

Author Topic: Change button background color  (Read 2118 times)

dodgebros

  • Full Member
  • ***
  • Posts: 165
Re: Change button background color
« Reply #15 on: June 26, 2024, 05:56:47 am »
Thanks to all for trying to help.  In the end, I added a panel to my main form, then I added another panel to that panel, one for each button.  I used the MouseEnter and the MouseLeace events to mimic the look of a button and of course the onClick event to run additional code.  Please see the attached
picture.

TD

cdbc

  • Hero Member
  • *****
  • Posts: 1496
    • http://www.cdbc.dk
Re: Change button background color
« Reply #16 on: June 26, 2024, 10:02:40 am »
Hi
Yup, "Easy Peasy" right  :D
Good on you mate  8)
Regards Benny
If it ain't broke, don't fix it ;)
PCLinuxOS(rolling release) 64bit -> KDE5 -> FPC 3.2.2 -> Lazarus 2.2.6 up until Jan 2024 from then on it's: KDE5/QT5 -> FPC 3.3.1 -> Lazarus 3.0

 

TinyPortal © 2005-2018