Recent

Author Topic: SpeedButton staying visually unchanged  (Read 1522 times)

selukwe

  • Newbie
  • Posts: 2
SpeedButton staying visually unchanged
« on: June 12, 2021, 08:53:46 am »
Can a SpeedButton be set/programmed so that when clicked on it will not press? I have in mind such a behavior that it will trigger the click event but will not move down and will remain in an unchanged state.

If this is not possible, could someone suggest a button component that can do this? But this would preferably have to be a SpeedButton type of button so that no focus will remain on the button after it has been clicked.

speter

  • Full Member
  • ***
  • Posts: 222
Re: SpeedButton staying visually unchanged
« Reply #1 on: June 12, 2021, 11:46:18 am »
You could probably simply use a TPanel.

cheers
S.
I climbed mighty mountains, and saw that they were actually tiny foothills. :)

Laz 2.0.10 / FPC 3.2.0 / Windows 10 (64bit)

selukwe

  • Newbie
  • Posts: 2
[Solved] Re: SpeedButton staying visually unchanged
« Reply #2 on: June 12, 2021, 12:55:33 pm »
Simple and ingenious, works great as expected! Sometimes the solutions lie too close to be seen until another person looks at them. Kudos to you and big THANKS!
« Last Edit: June 12, 2021, 03:37:45 pm by selukwe »

 

TinyPortal © 2005-2018