textbox

J

Jame

Hi all,

When double click in a text box, the whole word is
highlighted. When exiting the textbox(Lose focus),I like
to un-highlight the word in the text box. What is the code
for un-highlighting the word in the text box?

Any help is Appreciated

Jame
 
F

fredg

Hi all,

When double click in a text box, the whole word is
highlighted. When exiting the textbox(Lose focus),I like
to un-highlight the word in the text box. What is the code
for un-highlighting the word in the text box?

Any help is Appreciated

Jame

Jame,
I am unable to duplicate your problem.
The control is supposed to lose it's highlight when you exit it.

Perhaps you have some code in the control's double-click event that is
supposed to change the control colors?
 
J

Jame

I have 3 forms, product, testform and navigation.
Navigation is like a side main menu that provide easy
navigation between product and testform. In the
Navigation,I have a button that, when click, insert the
product name from product into testform. Before anything
is inserted to the testform, I use StrComp() to do some
check that the product name can not be number . When the
word is highlighted in the text box in the product form,
and I click a button in the navigation form, some how, I'm
having an error with StrComp(). I'm looking for codes to
un-highlight the word before the StrComp() statement. Any
clues on how this is done.

Thanks

Jame
 

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