I've got a continuous form that is a grid of statistical values.
When the user clicks on a statistic, something happens (specifically a
graph is created showing rolling one-year values for the stat in
question).
What I'd like to do is have the current cell highlighted somehow so
its clearer which statistic is "current".
MouseOver doesn't seem to be an option because the form is continuous
- i.e. all cells in the column get whatever highlighting I apply in
MousOver.
I'm thinking the Enter() event. Second-best, but better than
nothing.
But when I try something like:
-------------------------------
Sub txtWhatever_Ent er()
With Me.txtWhatEver
.SelStart = 0
.SelLength = 99
End with
End Sub
-------------------------------
I can only get the highlight if I pause the code.
Sounds like I'm missing something, but what?
When the user clicks on a statistic, something happens (specifically a
graph is created showing rolling one-year values for the stat in
question).
What I'd like to do is have the current cell highlighted somehow so
its clearer which statistic is "current".
MouseOver doesn't seem to be an option because the form is continuous
- i.e. all cells in the column get whatever highlighting I apply in
MousOver.
I'm thinking the Enter() event. Second-best, but better than
nothing.
But when I try something like:
-------------------------------
Sub txtWhatever_Ent er()
With Me.txtWhatEver
.SelStart = 0
.SelLength = 99
End with
End Sub
-------------------------------
I can only get the highlight if I pause the code.
Sounds like I'm missing something, but what?
Comment