how to change color on one textbox of the mouse move on the contineous form (1 Viewer)

accessman2

Registered User.
Local time
Yesterday, 20:45
Joined
Sep 15, 2005
Messages
335
Hi:

I created a contineous form. And there are 5 textboxes on each row. I want to create a mouse move event, when the user move the mouse on one textbox of one row, it will change to blue color of that specific textbox. How can I do that? Because when I do like this textbox1.backcolor = Blue, then all textbox1 of each row change to blue color. It is not correct. How does the program change the color of one textbox of one row only?

Please let me know, thanks.
 

missinglinq

AWF VIP
Local time
Yesterday, 23:45
Joined
Jun 20, 2003
Messages
6,420
Sorry, I think the only way you can format a single textbox, rather than all instances of a textbox, on a continuous form, is thru Conditional Formatting, and you can't do that using the MouseMove event. The closest you can come, using Conditional Formatting, is to change the color when the individual textbox gets focus.
 

Users who are viewing this thread

Top Bottom