[Code Sample]Alert "Do you want to save the changes you have made?"
1:Whenexitingform,Checktheformstatus.
2:Ifthestatusischanged,thendisplaythecustomizedalert.inaKEY-EXITtriggeratformlevel,enterthefollowingcode:declare
button_valnumber;
begin
--Performvalidationatitem