Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Shaun E on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Creating Tooltips beyond 255 characters

Status
Not open for further replies.

adrift

Programmer
Sep 12, 2001
46
CA
Is this possible?

I'd rather not build a help file, but have a context tip appear that can me multi line and beyond 255 characters? do i need to write soem vb code? ideas?

thanks shawn
 
Hi!

I think you're stuck with creating your own help file and letting the user access it with the What's This button. A tool tip only remains on the screen for a couple of seconds, so a long tool tip isn't useful anyway.

hth
Jeff Bridgham
 
are you sure? I believe the tooltip stays on as long as your mouse cursor remains on the same spot..
 
Hi!

I counted it out to be about 10 seconds(which was longer than I thought). I don't know if this can be changed. I'm working with Access 97 so, if you have a later version, that property may have been changed. Try it on one of your forms and let me know how long yours will last.

Jeff Bridgham
 
thanks jeff.. you are correct.. 10 seconds.. my mistake. The reason I'd prefer to have a longer tooltip is for quickness.. this is for data entry, and rather than the abstractor having to press f1 for help or click a what's this, it'd be easier if the 3 or 4 lines of help came up immediately.
 
I've sometimes cheated on this option by having creating a label that becomes visible when the relevant control has the focus. Your On Got Focus event sets the caption for the label (up to 2048 characters) and sets the label as visible.

If you want to make this more interactive you could set a unique tag on the controls you want to provide help for, and setup a table listing the tag and the help text. Your On Got Focus event could then be a function that looks up the help text for the tag specified.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top