Jump to content

Dialog.message İle İlgili Bir Soru


Abdullah 37

Recommended Posts

Arkadaşlar aşağıdaki AutoIT kodlarının işlevinin aynısını ams de Dialog.Message ile nasıl yapabilirim.Ben uğraştım ama yapamadım.

$x = MsgBox(4,"Seçim","Seçim yapınız")
if $x=6 Then
MsgBox(0,"","Evet Seçtiniz")
ElseIf $x=7 Then
MsgBox(0,"","Hayır Seçtiniz")
EndIf[/CODE]

Link to comment
Share on other sites

nID = Dialog.Message("", "Seçim yapınız", MB_YESNO, MB_ICONQUESTION, MB_DEFBUTTON1);

if nID == IDYES then
Dialog.Message("", "Evet seçtiniz");
elseif nID == IDNO then
Dialog.Message("", "Hayır seçtiniz");
end

nID = Dialog.Message("", "Seçim yapınız", MB_RETRYCANCEL, MB_ICONQUESTION, MB_DEFBUTTON1);

if nID == IDRETRY then
Dialog.Message("", "Yeniden seçtiniz");
elseif nID == IDCANCEL then
Dialog.Message("", "İptal seçtiniz");
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...