Bold Combo Boxes (1 Viewer)

yellow

Registered User.
Local time
Today, 08:27
Joined
May 16, 2002
Messages
122
Does anyone know if it is possible to make the item(s) clicked in a combo box bold or italic or red or whatever. Then when it is clicked again 'unbold' it.
 

indesisiv

Access - What's that?
Local time
Today, 08:27
Joined
Jun 13, 2002
Messages
265
Not sure if it exactly what you want but it seems to do the job.
In the on click event for the combo box use something like this.


Private Sub Combo0_Click()
If Me.Combo0.FontBold = False Then
Me.Combo0.FontBold = True
Else
Me.Combo0.FontBold = False
End If
End Sub

Hope it works for you.

Steve
 

yellow

Registered User.
Local time
Today, 08:27
Joined
May 16, 2002
Messages
122
Thanks for the answer but I need the individual item to be bold, when clicked, and remain bold within the combo box until the item is clicked again.

Therefore when the user selects the combo box the second time, whatever item they clicked in the list the first time is still there but highlighted in bold.

Making sense....?!?
 

Users who are viewing this thread

Top Bottom