Hide text on focus in continuous form (1 Viewer)

Kayleigh

Member
Local time
Today, 13:36
Joined
Sep 24, 2020
Messages
706
Hi
I have a continuous form with alternate row colours (white and grey).
I am looking to hide the text in one column when it has focus - usually I would change the text colour to white using conditional formatting. However it would not be transparent in the grey rows.
Any ideas of how this could work?
 

Josef P.

Well-known member
Local time
Today, 14:36
Joined
Feb 2, 2023
Messages
826
Just an idea:
Don't hide the text but put the focus into an unbound textbox that is exactly behind the one textbox.
 

Kayleigh

Member
Local time
Today, 13:36
Joined
Sep 24, 2020
Messages
706
Interesting. Will give it a try (y)
 

isladogs

MVP / VIP
Local time
Today, 13:36
Joined
Jan 14, 2017
Messages
18,225
As an alternative, look at this article

Or just use this code on the Click event to hide all the text in each record of the field
Me.ControlName.Forecolor=Me.ControlName.Backcolor
However, you won't then be able to edit the field!
 
Last edited:

Users who are viewing this thread

Top Bottom