"invisible cursor" in form

  • Thread starter ragtopcaddy via AccessMonster.com
  • Start date
R

ragtopcaddy via AccessMonster.com

I have a popup form with a text box that I'm trying to "masquerade" as a line
of text, as in a label. The text box contains an email address. I am trying
to mimic the behavior of the familiar "hyperlink" style of email address that
opens the default mail handler upon single click.

It works just fine with transparent back style, blue fore color, etc., except
for one thing that gives it away. The box must be enabled in order to fire
the On Click event and so the cursor is blinking in the textbox when the
address is clicked.

Is there anyway to make the cursor invisible in the textbox or in the form
(it's the only control on the form)?

Thanks,

Bill R
 
F

freakazeud

Hi,
you can not make the cursor invisible...the only options you have within the
textbox is to determine how the cursor will behave when the control receives
focus. You can send it to the end of the value, the beginning or have the
text be highlighted. Now one possible solution might be to set focus on the
on click event of this control to another control. This way the cursor will
only shortly be visible in the control and then move to the other specified
one. You could add a tiny command button with its transperant property set to
yes which could receive the focus...BUT why can't you just use a label in the
first place for this?
HTH
Good luck
 
R

ragtopcaddy via AccessMonster.com

Thanks for the suggestions.

The form is based on a query that returns the administrator's email address.
I bound the txtbox source to that value. It turns out that closing the form
after the click event does just what I need. But I will certainly keep your
advice in mind next time around.

Bill R
Hi,
you can not make the cursor invisible...the only options you have within the
textbox is to determine how the cursor will behave when the control receives
focus. You can send it to the end of the value, the beginning or have the
text be highlighted. Now one possible solution might be to set focus on the
on click event of this control to another control. This way the cursor will
only shortly be visible in the control and then move to the other specified
one. You could add a tiny command button with its transperant property set to
yes which could receive the focus...BUT why can't you just use a label in the
first place for this?
HTH
Good luck
I have a popup form with a text box that I'm trying to "masquerade" as a line
of text, as in a label. The text box contains an email address. I am trying
[quoted text clipped - 12 lines]
 

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

Top