من فضلك قم بتحديث الصفحة لمشاهدة المحتوى المخفي

مرحباً بكم أيها الكرام من أعضاء و زوار منتدى الابداع والتميز من كل مكان

في هذآ الموضوع المتوآضع سآقدم لكم الدرس التاسع من دروس الاوتوبلاى
والذى بعنوان [ انشاء رسالة هل انت متاكد من الخروج [FONT=tahoma, arial, helvetica, verdana]]
[/FONT]

.. | الدرس التاسعـ | ..


كود:
[CENTER][CENTER]function QueryAllowProjectClose() --this function will be called when the program is exiting
confirmation = Dialog.Message("Are you sure?", "Are you sure that you want to exit?", MB_YESNO, MB_ICONEXCLAMATION, MB_DEFBUTTON1);
if confirmation == 6 then
-- The yes button was pressed, allow program to close (return true)
return true;
else
-- The yes button was NOT pressed, do NOT allow the program to close (Return false)
return false;
end
end[/CENTER]
[/CENTER]




[FONT=tahoma, arial, helvetica, verdana]

[FONT=tahoma, arial, helvetica, verdana]

: في النهاية أتمنى أن الدرس أعجبكم :.
.: و أرجو أن أرى رأيكم في ردودكم :.
.: كلمة شكر لا تضرك أبدآ بل تزيد من مشاركاتك :.
و أستودعكم الله ،، محبكم دوما :
[FONT=arial, helvetica, verdana]

°.♥.°اشرفasser = اشرف ياسر°.♥.°
[/FONT][/FONT][/FONT]
التعديل الأخير بواسطة المشرف: