textbox

  • Thread starter Thread starter Jame
  • Start date Start date
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
 
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?
 
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
 
Back
Top