double click even on the Detail

  • Thread starter Thread starter Andy G
  • Start date Start date
A

Andy G

Why does the double-click event on the 'detail' area of a form only work on
the first record of a continous form?
 
Why does the double-click event on the 'detail' area of a form only work on
the first record of a continous form?

It works fine for me.
Are you sure you're clicking on an empty area of the detail section
and not on top of some rectangle or other control.
 
I did a little more to test this. I have 5 bound text boxed on the form,
all enabled=false and locked=true. In this setting the double-click only
works on the first record. If I set one of the controls to enabled=true
then the double-click works on all records.

-andy
 
My guess is that since the Focus cannot go to any Control, the Record / row
you double-click cannot become the CurrentRecord.

Possible work-around: Create an unbound TextBox with the following:
* Enabled and Visible are True
* Width + Height set to zero
* Back Style + Border Style set to Transparent

which will be virtually invisible but there would be a focusable Control for
each row in the Cts Form.
 
Back
Top