Problem w/ hyperlink control in a form

A

Amit

Hi,

I have a form with a bound hyperlink control. In the
properties section of the control, I have the following as
the default value: "S:\Shared\General\" (quotes included)

I also have the following snippet of code for the control
in the "OnEnter" property:
"Me.SuppMatPath.SelStart = Me.SuppMatPath.SelLength", so
that when a user tabs into the field, the cursor is placed
at the end of the defualt value.

The hyperlink property was working fine before I added the
code. That is, when I clicked on the path, it opened up
Explorer with the folder specified in the control. After
adding the code, this has stopped working, though now the
cursor is placed at the end of the text.

Is there a way around this problem? Is the clickable
property of the control not compatible with OnEnter?
Thanks for any help/pointers.

-Amit
 

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