2020-01-26 13:29 UTC
I use dcl_form_close of modal dialog with an argument
(dcl_form_close Test_TestForm 5)
as a return value for form_show function,
everything works fine, but I noticed that when I invoke that method inside of the function Grid2#OnMouseDown (it could be in any grid) then dcl_form_close always return 2, instead of argument.
Did anyone notice that?
Maybe I do something wrong but I investigated a lot and I'm 99% sure that this is happening only when (dcl_form_close Test_TestForm 5) is invoked inside of the OnMouseDown function.
Can anyone help?
(dcl_form_close Test_TestForm 5)
as a return value for form_show function,
everything works fine, but I noticed that when I invoke that method inside of the function Grid2#OnMouseDown (it could be in any grid) then dcl_form_close always return 2, instead of argument.
Did anyone notice that?
Maybe I do something wrong but I investigated a lot and I'm 99% sure that this is happening only when (dcl_form_close Test_TestForm 5) is invoked inside of the OnMouseDown function.
Can anyone help?