Listbox Tags <> Tooltips?

In another thread here, the question for disabling Mac OS‘ tooltips came up. While there seems to be no global switch like under Carbon anymore, adding a plist entry like

AppPref.Value ("NSInitialToolTipDelay") = 60000 // delay in 1/1000 seconds
seems to do the trick. But not for listboxes – the tags there appear immediately. I thought those would be tooltips as well, therefore: Is there some way to force them under the app‘s delay like above? Or do I need to subclass them and do that on my own?

The Listbox is not a native control, so that’s why it doesn’t work automatically.

I see. Thanks, Eli! It‘s a pity NSTableView is such a pain to use …

Although the same display is used, help tags and tooltips are two different things. Help tags are a control property that appear automatically upon hover, whereas a tooltip is called by code.

Both probably rely on NSView either addToolTipRect:owner:userData: or setToolTip:, though.

I see again! Same same, only different! Thanks a lot, Michel!

Actually, I just conducted a quick experiment with a declare that removes help tags from all controls on a window.
Including ListBoxes.

It works like a charm, but quite logically, it does not remove the tooltips which are called by code.

If what you want to do is to set the appearance delay of the help tag over a listbox, your best bet is to use your own property like MyHelpTag and a mode.single timer you launch in ListBox.MouseEnter which displays a tooltip, precisely, and use Tooltip.Hide in MouseExit. And leave the ListBox.HelpTag empty. If you have only one listbox you do not even have to subclass.