Form Labels

G

Guest

I have a form where when you tab through the text boxes on the form the Label
for the text box that has the focus darkens or highlights. However, when I
add new text boxes to the form and put the focus on those text boxes the
Labels don't darken. I don't know why this is, but how can I get all Labels
on the form to act uniformly so they all darken when their respective text
boxes get the focus?

Thanks,

Kevin D
 
D

Damon Heron

The only way I know is by programming the entry and exit events. What
version of Access do u have?

Private Sub Text0_Enter()
Me.Label1.FontBold = True
End Sub
Private Sub Text0_Exit(Cancel As Integer)
Me.Label1.FontBold = False

End Sub

Damon
 
G

Guest

Damon,

I'm using 2003. Sometimes the forms get a little funky. Like some labels
get darker as I scroll through records to the point they become bold face,
while others on the same form do not. The only way I've been able to solve
that problem is to make the label backround "Normal" instead of "transparent".

Kevin
 

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