W
Wayne-I-M
I asked a similar question earlier today - sorry if it looks the same (it's
not)
It is possible to disable the AfterUpdate event unless the "enter" is
pressed - specifically not the arrow keys.
Example (you can try)
Create an unbound form
Create a option group with 2 buttons (Call it Frame0)
(It doesn't matter whats in the options)
Create 2 text boxes. (call them txt1 and txt2)
In the after update of the option group put this.
Private Sub Frame0_AfterUpdate()
Select Case Me!Frame0
Case 1
Me.txt1.BackColor = vbRed
Me.txt2.BackColor = vbBlack
Case 2
Me.txt2.BackColor = vbRed
Me.txt1.BackColor = vbBlack
End Select
End Sub
You will see the after update event is fired without using the enter key.
This is only a very simple example of something I am trying to achieve (some
users don't want to use the mouse so I need to de-activate the AfterUpdate of
the arrows or they will not be able to navigate the form)
Is there any way round this??
not)
It is possible to disable the AfterUpdate event unless the "enter" is
pressed - specifically not the arrow keys.
Example (you can try)
Create an unbound form
Create a option group with 2 buttons (Call it Frame0)
(It doesn't matter whats in the options)
Create 2 text boxes. (call them txt1 and txt2)
In the after update of the option group put this.
Private Sub Frame0_AfterUpdate()
Select Case Me!Frame0
Case 1
Me.txt1.BackColor = vbRed
Me.txt2.BackColor = vbBlack
Case 2
Me.txt2.BackColor = vbRed
Me.txt1.BackColor = vbBlack
End Select
End Sub
You will see the after update event is fired without using the enter key.
This is only a very simple example of something I am trying to achieve (some
users don't want to use the mouse so I need to de-activate the AfterUpdate of
the arrows or they will not be able to navigate the form)
Is there any way round this??