Jim
2008-11-22 22:38 UTC
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
owenwengerd
2008-11-23 14:02 UTC
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.
owenwengerd
2008-11-23 14:26 UTC
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.
Jim
2008-11-23 14:32 UTC
As far as I could tell, when the check box was DblClicked the associated lisp function was not called.
owenwengerd
2008-11-23 14:50 UTC
Can you provide some code and information about your system so I can reproduce the problem?
Jim
2008-11-23 16:10 UTC
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
2008-11-23 16:13 UTC
Also:
WinXP SP3
Mechanical Desktop 2004 DX SP 2 (using vanilla)
Beta 5.0.1.3
Cheers,
Jim
owenwengerd
2008-11-24 00:10 UTC
author=Jim Short link=topic=480.msg2148#msg2148 date=1227456630 wrote:
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.
owenwengerd
2008-11-24 00:13 UTC
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?
Jim
2008-11-24 00:48 UTC
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