Andrew G
Jan 7th, 2006, 11:25 PM
Ok I've created an active X component (with a bit of help) that will automatically detect if a control has a tooltip and then it will display it. This tooltip can be multiline and it looks just like window's tooltip. All that is needed it to add the tooltip, and it will show the tooltip as multiline.
One added feature is that you can add the '|' character and it will be converted to a new line.
Note: This is not completely my code, I found the code on the web at http://www.directions.com.au/articlehtmlxid_147 All i did was to make it more easier to use and added the ability to check if any control on the form has a tooltip and then dislpay it, plus some other small stuff.
If you have any suggestions, bugs, problems, you like it or have found a better way to do it, please post it.
Enjoy
New Version: Found bug which made activeX stop working if the form had any controls with no handle. Fixed now :)
One added feature is that you can add the '|' character and it will be converted to a new line.
Note: This is not completely my code, I found the code on the web at http://www.directions.com.au/articlehtmlxid_147 All i did was to make it more easier to use and added the ability to check if any control on the form has a tooltip and then dislpay it, plus some other small stuff.
If you have any suggestions, bugs, problems, you like it or have found a better way to do it, please post it.
Enjoy
New Version: Found bug which made activeX stop working if the form had any controls with no handle. Fixed now :)