Hi there,
I have 41 textboxes for a calendar. When I click on a text box I need it to change it's visual properties to indicate its been selected and if clicked again to be unselected. Not wanting to do this 41 times ... what do I call the "Current Text Box"?
If CurTextBox.BackColor = -2147483633 Then
CurTextBox.BackColor = 8421504
CurTextBox.SpecialEffect = 2
Else
Me![txtDate1] = Null
CurTextBox.SpecialEffect = 1
CurTextBox.BackColor = -2147483633
End If
Many thanks
Ronnie
I have 41 textboxes for a calendar. When I click on a text box I need it to change it's visual properties to indicate its been selected and if clicked again to be unselected. Not wanting to do this 41 times ... what do I call the "Current Text Box"?
If CurTextBox.BackColor = -2147483633 Then
CurTextBox.BackColor = 8421504
CurTextBox.SpecialEffect = 2
Else
Me![txtDate1] = Null
CurTextBox.SpecialEffect = 1
CurTextBox.BackColor = -2147483633
End If
Many thanks
Ronnie