Runtime check if form has Tooltip-control.
Posted on 2013-10-24
I need to make a list of all the Tooltips that are set on the forms that I open in a vb.net application.
The tooltip control is not in the controls collection.
How can I check if the tooltip control / class is added to the form?
Secondly, when It exists, how do I connect to the tooltip class?
to put it more clear, when I open a from in my application, I enumerate all the buttons, labels and linklabels and store the text and image properties in a database. I also want to add the tooltip if one exists. For buttons I can loop through the controls collection but I don't find the tooltip anywhere. How do I see if a the tooltip control is added to the form and if so, how do I connect to that tooltip control to get the tooltips.