Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.


I 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.


That's how it works today in Qt Creator too


It's the same in WinForms, my example was bad as I was trying to do something "unsupported" by the base objects :)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: