Full Version: ToolTips added to Forms Control enhancement needed
UtterAccess Discussion Forums > Microsoft® Access > Access Forms
petite39
I found this http://support.microsoft.com/default.aspx?...kb;en-us;119991
it is "How to Add Tooltips to Form controls". It works great but I need to modify the height of the tooltip box to accomodate a larger phrase. Anybody know how to modify this code?

Any help would be greatly appreciated. I got it to work, but I need more room.
adamsherring
Hi,

check out this tooltip API by lebans. It might be able to help you.
HiTechCoach
Are you using the built-in tool tip property in Access 2003? You don't need any of the code in the link you provided. It has already been built into Access 2003.

Check out this previous post: Word Wrap ToolTips - How?
petite39
I tried using the Control tip text property but it limits me to 254 characters. I need a little more, not much. I happen to run across the code one in Lebans first and thought maybe it was a little too much for what I needed. So I used what I posted earlier that I found in Microsoft and didn't realize how close it was to Lebans. I tried using the one in Lebans...it quite frankly...Isn't working for me. I imported everything into my db, ran the forms...works fine. I incorporate the code into my forms and it fails on an object call ....create(ME). Says "Object variable or With Block variable not set" Can't figure out what's wrong. I'm wasting way too much time on this. Thanks for all your advise. I don't know what I'm going to do at this point.
adamsherring
Hi,

If you want a quick solution that doesnt utilize everything that lebans does, create an unbound textbox. Set the .visible property to false. When you hover over an object, move your textbox, set the value of it to whatever you want your .controltiptext to be, and set its .visible to true. And voila! Instant giant tooltip.

Hope this helps
HiTechCoach
IMHO, with the amount of text that you want to display a traditional tool tip is just not practical. I would recommend the "Cool Tool Tips" available at aadconsulting.com just scroll down the page to "Cool Tool Tips: A Better Control Tip Paradigm"

It is free and works great! My users really like it.



Hope this helps...
petite39
AHHH! Brilliant! I'll give it a try...wasn't thinking that simplistic.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.