Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
正如标题所示,即使我设置了复选框的提示属性,当鼠标光标悬停在控件上时,工具提示也不会显示。TButton 控件上的相同 Hint 属性没有问题。为什么?
确保TCheckBox.ShowHintorTCheckBox.ParentShowHint属性设置为 True。
TCheckBox.ShowHint
TCheckBox.ParentShowHint
在后一种情况下,请确保Parent'ShowHint/ParentShowHint属性为 True,依此类推,直到父层次结构。如果您到达 TForm 并启用了一切,请确保TApplication.ShowHint属性为 true,并且没有OnHint可能丢弃提示通知的事件处理程序被分派到TCheckBox.
Parent
ShowHint/ParentShowHint
TApplication.ShowHint
OnHint
TCheckBox