At 01:54 PM 8/24/2010, Dennis McGrath wrote:
Actually I wanted the speed button because I did not
want it part of the table order.
My solution was to set_focus to a couple of controls
in sequence on the form when the button is pressed.
This forces the last variable edit control to be exited
and fixes the problem.
Very Best R:egards,
Dennis,
FWIW, the Speed Button or Enhanced Speed Button, by
design, are excluded from the [Tab] / [Set Focus]
properties.
In order to obtain the correct variable value from
the Variable Edit control, you have to provide a
logic to Exit the field properly to evaluate the
current value.
Your solution is the correct method, only if you
wish not to change the control type of the button.
Hope that explains the reason of my reply to your
original request/question.
Very Best R:egards,
Razzak.