4 ms·
In Delphi u didn’t need any code to add a tooltip to a component - just add it as a property in the inspector. U can do it in code if you want, but it’s easy to
by ant6n 3y ago
In Delphi u didn’t need any code to add a tooltip to a component - just add it as a property in the inspector. U can do it in code if you want, but it’s easy to do since u see the available properties in the inspector.
- jcelerier 3y agoThat's how it works today in Qt Creator too
- ygra 3y agoI guess that was about tooltips for the listbox items, because just a tooltip for a component would be the same with Windows Forms by just setting a property in the properties panel (granted, it's basically an ancient form of attached property that uses a separate tooltip component, but the UI streamlines this.
- qingcharles 3y agoIt's the same in WinForms, my example was bad as I was trying to do something "unsupported" by the base objects :)