UtterAccess.com
X   Site Message
(Message will auto close in 2 seconds)

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> ToolTips added to Forms Control enhancement needed    
 
   
petite39
post Mar 21 2007, 08:19 AM
Post #1

UtterAccess Ruler
Posts: 1,051



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.
Go to the top of the page
 
+
adamsherring
post Mar 21 2007, 08:28 AM
Post #2

VIP Emeritus
Posts: 1,750
From: The Great White North



Hi,

check out this tooltip API by lebans. It might be able to help you.
Go to the top of the page
 
+
HiTechCoach
post Mar 21 2007, 08:40 AM
Post #3

UtterAccess VIP
Posts: 18,396
From: Oklahoma City, Oklahoma



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?
Go to the top of the page
 
+
petite39
post Mar 21 2007, 10:53 AM
Post #4

UtterAccess Ruler
Posts: 1,051



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.
Go to the top of the page
 
+
adamsherring
post Mar 21 2007, 12:36 PM
Post #5

VIP Emeritus
Posts: 1,750
From: The Great White North



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
Go to the top of the page
 
+
HiTechCoach
post Mar 21 2007, 02:11 PM
Post #6

UtterAccess VIP
Posts: 18,396
From: Oklahoma City, Oklahoma



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.

(IMG:http://www.aadconsulting.com/images/cooltips.gif)

Hope this helps...
Go to the top of the page
 
+
petite39
post Mar 21 2007, 02:21 PM
Post #7

UtterAccess Ruler
Posts: 1,051



AHHH! Brilliant! I'll give it a try...wasn't thinking that simplistic.
Go to the top of the page
 
+

Thank you for your support! Reply to this topicStart new topic

Jump To Forum:
 



RSS Go to Top  ·  Lo-Fi Version Time is now: 19th May 2013 - 09:45 AM