baconecdz مدير المنتدى : خالد khaled الجنس : هوايتي : الرياضة مسآهمآتے : 11443 التقييم : 368 موضوع: عمل رسالة هل انت متاكد من الخروج AutoPlay Media Studio V8.0.7.0 السبت 21 يونيو 2014 - 17:16 | |
| .. | الدرس التاسعـ | .. عمل رسالة هل انت متاكد من الخروج AutoPlay Media Studio V8.0.7.0نختار الاداه التاليه من القائمه ... نضع الكود التالي في المربع - الكود:
-
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 OK ونضغط الان النتيجه ... الان لتعديل على الكود وتعريبهنعدل الكلام الي بالاحمر والحفظ والنتيجة الكود معرب - الكود:
-
function QueryAllowProjectClose() --this function will be called when the program is exiting confirmation = Dialog.Message("هل انت متاكد؟", "هل انت متاكد انك تريد الخروج من البرنامج؟", 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
... أنتهى الدرس.. | لتحميلـ صور الدرس | .. بسم الله - اضغط هنا للتحميل - |
| |
anouarsoft عضو فعال |