OpenDCL Forums

OpenDCL => Runtime/AutoLISP => Topic started by: marcoheuer on April 25, 2012, 03:46:20 AM

Title: problem with grid event "OnEndLabelEdit" in modal dialog
Post by: marcoheuer on April 25, 2012, 03:46:20 AM
hello,
i have a problem with grid event "OnEndLabelEdit" in modal dialogs in version 7.0.0.4:
when i select/edit a cell, then is called event "OnBeginLabelEdit". if i select a other cell then is called the event "OnEndLabelEdit".
this is ok.

but:
when i select/edit a cell and then set the focus e.g. in a "text box", the event "OnEndLabelEdit" is not called.
(this behavior can be comprehend in the sample grid)

what can i do?

(this problem is not in version 6.0.2.5)

regards
marco
Title: Re: problem with grid event "OnEndLabelEdit" in modal dialog
Post by: krunch on April 26, 2012, 10:21:08 AM
Hi, it looks like the same problem so you could try this code : http://www.opendcl.com/forum/index.php?topic=1774.msg8827#msg8827 (http://www.opendcl.com/forum/index.php?topic=1774.msg8827#msg8827)
Title: Re: problem with grid event "OnEndLabelEdit" in modal dialog
Post by: marcoheuer on April 26, 2012, 11:53:02 PM
hello krunch
thank's for your response.
the described "OnMouseMove" function I use that myself. everything works fine in version 6.0.2.5.
because I'm starting to test my programs for acad 2013, I use version 7.0.0.4

the problem is in this version that the event grid "OnEndLabelEdit" not called, if I click outside of the grid. But this happens only in modal dialogs (for all modeless dialogs with grids it's all ok)

regards
marco
Title: Re: problem with grid event "OnEndLabelEdit" in modal dialog
Post by: krunch on April 27, 2012, 02:02:28 AM
Quote
the problem is in this version that the event grid "OnEndLabelEdit" not called, if I click outside of the grid.

I get the same problem (not really penalizing) with modeless in 6.0.2.5 : it's triggered if I click onto another control but not on the Form...
Title: Re: problem with grid event "OnEndLabelEdit" in modal dialog
Post by: marcoheuer on April 27, 2012, 03:59:40 AM
6.0.2.5
"OnEndLabelEdit" triggered if I click onto another control in modal and modeless dialogs

7.0.0.4
"OnEndLabelEdit" triggered if I click onto another control in modeless dialogs
"OnEndLabelEdit" not triggered if I click onto another control in modal dialogs -> and this is the problem

regards
marco
Title: Re: problem with grid event "OnEndLabelEdit" in modal dialog
Post by: owenwengerd on April 27, 2012, 08:52:44 AM
Can you attach a simple project that demonstrates the problem?
Title: Re: problem with grid event "OnEndLabelEdit" in modal dialog
Post by: marcoheuer on April 30, 2012, 12:19:36 AM
hello owen,
here is an example

regards
marco
Title: Re: problem with grid event "OnEndLabelEdit" in modal dialog
Post by: owenwengerd on May 13, 2012, 11:00:11 PM
I've made some changes in the grid cell editing mechanism for alpha 4 that I hope fixes this problem. When alpha 4 is released (probably next week), please test it and report any problems.
Title: Re: problem with grid event "OnEndLabelEdit" in modal dialog
Post by: marcoheuer on May 13, 2012, 11:23:32 PM
i will make.
thanks.

regards
marco
Title: Re: problem with grid event "OnEndLabelEdit" in modal dialog
Post by: marcoheuer on May 22, 2012, 01:56:58 AM
hello owen,
the problem seems to be eliminated in version 7.0.0.5.
thanks

but i have a new problem with grid in version 7.0.0.5
(look at here http://www.opendcl.com/forum/index.php?PHPSESSID=l4ogdbtaeigu7b4h5idqfgb5b3&topic=1805.0 (http://www.opendcl.com/forum/index.php?PHPSESSID=l4ogdbtaeigu7b4h5idqfgb5b3&topic=1805.0))

regards
marco