CheckBox clicked to fast fails proper return

Started by Jim Short, November 22, 2008, 02:38:13 PM

Previous topic - Next topic

Jim Short

Beta 5.0.1.3
I saw the post on fast clicking check boxes.
Why does that control have a DblClick event?

With DblClick set true in control, event does not fire.
Where are we on this?
Jim
Jim Short

owenwengerd

It doesn't seem very useful to handle the double click event on a check box, but I just tested and it worked fine for me on Vista.
Owen Wengerd (Outside The Box) / ManuSoft

owenwengerd

I see that the Value property is not yet updated when the DBlClicked event handler is called. Is that what you're referring to?  I've fixed that for Beta 4.
Owen Wengerd (Outside The Box) / ManuSoft

Jim Short

As far as I could tell, when the check box was DblClicked the associated lisp function was not called.
Jim Short

owenwengerd

Can you provide some code and information about your system so I can reproduce the problem?
Owen Wengerd (Outside The Box) / ManuSoft

Jim Short

Yes. When I get back from breakfast.
When both events are checked in OpenDCL
and both events are defined in lisp

Click yields click

DblClick yields click DblClick
Jim Short

Jim Short

Also:

WinXP SP3
Mechanical Desktop 2004 DX SP 2 (using vanilla)
Beta 5.0.1.3

Cheers,
Jim
Jim Short

Jim Short

Jim Short

owenwengerd

Quote from: Jim Short on November 23, 2008, 08:10:30 AM
Click yields click
DblClick yields click DblClick

A double click is exactly that: a click event followed by a double-click event. Is that what you are seeing? If so, that is by design.
Owen Wengerd (Outside The Box) / ManuSoft

owenwengerd

Here is what I see when I double-click on the checkbox three times:
Command: Clicked
Command: DblClicked
Command: Clicked
Command: DblClicked
Command: Clicked
Command: DblClicked

Are you seeing something different?
Owen Wengerd (Outside The Box) / ManuSoft

Jim Short

Owen,
Please excuse my ignorance. I expect that DblClick is working then, if that they way it is designed.
I am saving the check box state while in the click event. I can cause the check mark
to fall out of sink with the the record change.

Why won't entmakex work in check box event? My dictionary functions fail there. See post in OpenDCL Lisp forum.
I tried this in two odcl projects. I had much more difficulty with the complicated one with the check box on the tabbed control.

BTW I am having fewer lockups with Beta 5.0.1.3

Cheers,
Jim
Jim Short