OnClick does not fire on 1st, dblclck works on 1st attempt.

bignose2

Registered User.
Local time
Today, 07:56
Joined
May 2, 2010
Messages
251
Hi,

Clicking a bound text box on a continuous form of records does not fire the on first click. Focus starts & is mostly set on a search text box at top.

The first click does select the record & the 2nd click then fires the onclick.

I sort of know why this is happening.
My OnCurrent always setsfocus back to my search text box at top

I do use FAUT (find as you type) so, on change it always focus's back to search box.

I could try to avoid the on current setfocus but it is just safe & always on the correct control & just works, if I remove it throws up a variety of issues, perhaps lazy but I like this.

I perhaps would find a work around but what I find odd is double click fires straight away, I would have thought this should also need the single click to move the focus away from my search box so by that principle I hope that perhaps I can keep the oncurrent setfocus but easily fire onclick on the first.

I don't want mouse over or other similar. I was hoping to keep it simple.

Sometimes I prefer the single click otherwise I suppose I should stick with the double click.

thanks I/A
 
Ditto.
Double click is much more obvious and less likely to be done accidentally, unlike single click.
 

Users who are viewing this thread

Back
Top Bottom