using the control tip

  • Thread starter Thread starter JohnE
  • Start date Start date
J

JohnE

I have a form that has a textbox on it that will have a name in it that is
longer then the textbox. The txtbox can not be made longer. What I would
like to do is use the Control Tip to display the full name in the textbox.
How is that done? Or can it be done using the control tip way? Any examples
are appreciated.
Thanks.
.... John
 
JohnE said:
I have a form that has a textbox on it that will have a name in it that is
longer then the textbox. The txtbox can not be made longer. What I would
like to do is use the Control Tip to display the full name in the textbox.
How is that done? Or can it be done using the control tip way? Any
examples
are appreciated.
Thanks.
... John

Me.ControlName.ControlTipText = Me.ControlName.Value

Put that in the control's OnEnter event procedure.
 
Thanks for the reply. Unfortunately, nothing is happening. Tried it in
several other txtboxes on several other forms just in case and nothing
occurred.
.... John
 
JohnE said:
Thanks for the reply. Unfortunately, nothing is happening. Tried it in
several other txtboxes on several other forms just in case and nothing
occurred.
... John
<SNIP>

Just tried it on one of my forms. No problem here... <shrug> (Access 2003
BTW)

Could you post some of the code you're using?
 
A2k3 here as well. I put Me.txtProjectName.ControlTipText =
Me.txtProjectName.Value into the OnEvent of txtProjectName. And nothing is
appearing. This is a textbox on a main form, not a subform, or a continuous
form.
.... John
 
Just for giggles I put a test phrase in the ControlTip Text property to see
what happens. Nothing. It appears I do not have control tip capability or
functionality at all. Strange why the control tip isn't working. Otherwise
what you provided would work.
Any thoughts on this?
.... John
 
JohnE said:
Just for giggles I put a test phrase in the ControlTip Text property to
see
what happens. Nothing. It appears I do not have control tip capability
or
functionality at all. Strange why the control tip isn't working.
Otherwise
what you provided would work.
Any thoughts on this?
... John

Only one thing this points to IMO - corruption somewhere in your database
file. Try making a new db and importing everything into it. Check that any
references you use are set, then give the form a whiz. I know it seems like
desperation, but it's surprising how many faults can be fixed by this
action.

Other than that, nothing comes to mind.
 
Mr McCall, just wanted to give you an update and to say thanks for the
earlier info. I did the importing but even that did not work. It turned out
Access 2003 had to be reinstalled as it was "going bad" with some corrupt
files of its own.

It all works just great now.
Thanks.
.... John
 
JohnE said:
Mr McCall, just wanted to give you an update and to say thanks for the
earlier info. I did the importing but even that did not work. It turned
out
Access 2003 had to be reinstalled as it was "going bad" with some corrupt
files of its own.

It all works just great now.
Thanks.
... John

Glad to hear you solved it. Incidentally, something I meant to mention
earlier: should the field contents ever overflow the tooltip, you need a
better tooltip system. I recommend from personal experience:

http://www.lebans.com/tooltip.htm
 
Back
Top