Recent

Author Topic: Fast control enabling  (Read 4698 times)

scribly

  • Jr. Member
  • **
  • Posts: 80
Fast control enabling
« on: July 12, 2016, 08:06:30 pm »
I am using windows 7 with themes enabled. And my application uses a manifest with themes enabled as well

On a form I have a row of buttons that get enabled when another button is clicked.
The problem is that calling .enabled:=true on every button starts a animation that shows the button getting enabled. That animation takes about 1-2 seconds

Is there a way to make it show that it's instantly activated ?

lainz

  • Hero Member
  • *****
  • Posts: 4460
    • https://lainz.github.io/
Re: Fast control enabling
« Reply #1 on: July 12, 2016, 08:16:39 pm »
Use TSpeedButton instead of TButton. It has no animations.

 

TinyPortal © 2005-2018