Again with my custom control in .NET ... well the event are fired and catched from my "event procedure" and all is wrapped from an accept screen..
ShowGrid.
modify net-grid "@ShowGrid"().
set exit-now to false.
perform until Exit-Pushed
accept screen-1
on exception perform Acu-Screen1-Evaluate-Func
end-accept
end-perform.
.
But the problem is when I need to close the form from the .NET event procedure. How to break the accept and go to exception handling? I've tried to call the exit program but from an event procedure is ignored.
The manual say to force EVENT-ACTION-FAIL to EVENT-ACTION variable but don't work.
Any suggestion?
Thanks
Andrea
#.net



