using the control tip

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
 
S

Stuart McCall

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.
 
J

JohnE

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
 
S

Stuart McCall

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?
 
J

JohnE

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
 
J

JohnE

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
 
S

Stuart McCall

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.
 
J

JohnE

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
 
S

Stuart McCall

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

using another field as default 3
control tool tip 2
Control Tip Text 6
textbox movement 1
textbox information 1
Control Tip 1
textbox and combobox 3
update textbox with total 9

Top