Started by stephan_35 ·
2009-08-27 21:46 UTC ·
11 replies · SMF topic #891
stephan_35
2009-08-27 21:46 UTC
Hello Owen,
Again me ! ;D
I needed to use TextBox control with "8- Multiline Sting" Filter.
I use event "EditChange" to know if something append in this field.
I get these string in AutoCAD when multiline are enter in control :
("_> ("_> ("_> ("_> ("_> ("_> ("_>
As many cariage return (enter) it send ("_>"
thanks.
Best regards.
owenwengerd
2009-08-27 22:24 UTC
Did you miss a closing quote in your OnEditChanged event handler?
stephan_35
2009-08-28 10:54 UTC
author=owenwengerd link=topic=891.msg4429#msg4429 date=1251411863 wrote:
Did you miss a closing quote in your OnEditChanged event handler?
Not at all !
Just use example code from editor ... ;D
I verify my code, and make a test ...... and reproduce it twice !
Thanks
Best regards.
owenwengerd
2009-08-28 12:53 UTC
I cannot reproduce the problem. Please post a sample along with steps to reproduce it.
stephan_35
2009-08-28 14:35 UTC
author=owenwengerd link=topic=891.msg4432#msg4432 date=1251464021 wrote:
I cannot reproduce the problem. Please post a sample along with steps to reproduce it.
Here is my example ....
(load "d:/textbox_multiline.lsp")
c:test
Enter some lines in textbox1 and see in autocad command line what append ... ;)
Nothing else to say ....
Thanks
Best regards
owenwengerd
2009-08-28 15:44 UTC
Thanks. The problem occurs only when Event Invoke is 'Asynchronous'. This is now fixed for the next build.
stephan_35
2009-08-28 15:51 UTC
author=owenwengerd link=topic=891.msg4436#msg4436 date=1251474286 wrote:
Thanks. The problem occurs only when Event Invoke is 'Asynchronous'. This is now fixed for the next build.
Thanks ;)
stephan_35
2009-09-01 08:41 UTC
Hello owen,
Now the event "EditChanged" is not called !
and, when i come back in autocad command line, these strange string appear before autocad prompt, and i can't enter any order !
Thanks !
Best regards.
owenwengerd
2009-09-01 15:04 UTC
I don't see any problem with OnEditChanged. I did notice that OnUpdate incorrectly calls OnEditChanged; that is now fixed for the next build.
stephan_35
2009-09-01 17:04 UTC
Hello owen,
Sorry to insist !
ok, when i set textbox event invoke to synchronous, OnEditChanged event is call.
When i set textbox event invoke to asynchronous, never be called !
Hope this help you .
Thanks,
Best regards.
owenwengerd
2009-09-01 17:10 UTC
I assume this is also due to the bug with escaped quotes in asynchronous events that receive string arguments, so it should be fixed in the next build.
stephan_35
2009-09-01 19:06 UTC
author=owenwengerd link=topic=891.msg4466#msg4466 date=1251825023 wrote:
I assume this is also due to the bug with escaped quotes in asynchronous events that receive string arguments, so it should be fixed in the next build.
Work fine with new ARX, ether asynchronous or synchronous .
Thanks for your job .
Best regards