Jump to content

Dialoga Görev Atama


casira

Recommended Posts

Kintaro bir sorum olacak

Diyalog mesajına görev atayabilirmiyiz.

Örnek olarak bir butona basacağız.

diyalog mesajı açılacak burda evete basarsak pc restart veya bir resim açılacak,eğer hayıra basarsak geri dönecek.

Link to comment
Share on other sites

Soru bana gelmedi ama cevaplıyayım istersen..

mesaj = Dialog.Message("Notice", "Your message here.", MB_YESNO, MB_ICONINFORMATION, MB_DEFBUTTON1);
if mesaj == 6 then
-- evete'e basılınca ne yapılacaksa
elseif mesaj == 7 then
--hayır'a basılınca ne yapılacaksa
end[/CODE]

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...