Recent

Author Topic: how to set the tooltip response time?  (Read 1533 times)

Leberecht

  • Newbie
  • Posts: 5
how to set the tooltip response time?
« on: September 18, 2018, 03:31:47 pm »
hello,

i have some speedbuttons with tooltips/hints, but the response time is way too long (>2 seconds).
how can i set a custom response time for the buttons, i.e. 500ms?

thanks

wp

  • Hero Member
  • *****
  • Posts: 11855
Re: how to set the tooltip response time?
« Reply #1 on: September 18, 2018, 03:37:13 pm »
Set the TApplication properties HintPause, HintHidePause etc. by code, or add a TApplicationProperties component where you can change these properties at designtime.

Leberecht

  • Newbie
  • Posts: 5
Re: how to set the tooltip response time?
« Reply #2 on: September 18, 2018, 04:08:23 pm »
thank you. you know what? i go the the code of the main-form an want apply this code and what is it what i see?
the code is always there!

Application.HintPause:=2000;

the code is years old, i must have forgotten this. unbelivable.

shame on me.
 :o

 

TinyPortal © 2005-2018