Highlight the entire row when mouse moves over the row (1 Viewer)

foxtet

Registered User.
Local time
Today, 06:10
Joined
May 21, 2011
Messages
129
Hi every one

Is there any way to highlight the entire row when mouse moves over the row in the continuous form?

If any suggestions please share

foxtet
 

RuralGuy

AWF VIP
Local time
Yesterday, 20:10
Joined
Jul 2, 2005
Messages
13,826
If you had a single control *behind* the row and all of the controls were transparent, I would think it could be done.
 

foxtet

Registered User.
Local time
Today, 06:10
Joined
May 21, 2011
Messages
129
If you had a single control *behind* the row and all of the controls were transparent, I would think it could be done.

Can it be done by coding?
 

RuralGuy

AWF VIP
Local time
Yesterday, 20:10
Joined
Jul 2, 2005
Messages
13,826
Sure "If you had a single control *behind* the row and all of the controls were transparent."
 

arnelgp

..forever waiting... waiting for jellybean!
Local time
Today, 10:10
Joined
May 7, 2009
Messages
19,228
drag an unbound textbox on the detail section of your form.
delete its associated label control.
name the textbox txtHidden. set its Visible property to False.

on the current event of your form, set txtHidden to the value of your PK field in the form.

private sub form_current()
me.txtHidden = me.PKTextBoxControl
end sub

next select all controls on your form (textboxes, comboboxes) and do the Conditional format.
use
Expression: [txtHidden] = [PKTextBoxControl] => choose color you want.

for new record (if you want to set new conditional format)

Expression: [txtHidden] Is Null And [PKTextBoxControl] Is Null => choose color you want.
 

Users who are viewing this thread

Top Bottom