Originally posted by MSilva
Hi
Try using a publish statement coded in the button .
Your button :
publish "closemywindow".
Your Window (main block):
subscribe "closemywindow" anywhere.
AND
Procedure closemywindow:
/*here you close your app*/
end.
Originally posted by Rabbit
Thanks for your help, I have try the statment subscribe, but Progress just said "Unable to understand" the statement. Is anything I make wrong? This is my main block statement :
SUBSCRIBE "PROCEDURE closemywindows" ANYWHERE.
---> SUBSCRIBE "closemywindows" ANYWHERE. /*dont write procedure*/
/* Include custom Main Block code for SmartWindows. */
{src/adm/template/windowmn.i}
I am using Progress V8.3. Thank you!
Rabbit
Originally posted by m1_ru
Try to use next code in trigger on choose of button Exit
in browser:
<code>
run notify in this-procedure (input 'exit,container-source':u ) .
</code>