PColik Posted February 15, 2015 Share Posted February 15, 2015 Merhaba arkadaşlar. Şöyle bir kod yazdım. dosyaadi = Dialog.Input("Dosyanıza bir isim verin", "Dosya adı:", "", MB_ICONQUESTION); if dosyaadi == "" then Dialog.Message("Hata", "Dosya adı boş bırakılamaz", MB_OK, MB_ICONINFORMATION, MB_DEFBUTTON1); end Bu koda göre Dialog.Input penceresine bir şey yazmadan Tamam'a tıklayınca Dialog.Message komutu devreye giriyor. Ben istiyorum ki: Kutucuğa hiçbir şey yazmadan Tamam'a tıkladığımızda tekrar başa dönsün (Dialog.Input yeniden gözüksün) Şimdiden teşekkürler. Quote Link to comment Share on other sites More sharing options...
Editor pairs Posted February 15, 2015 Editor Share Posted February 15, 2015 repeat dosyaadi = Dialog.Input("Dosyanıza bir isim verin", "Dosya adı:", "", MB_ICONQUESTION); if dosyaadi == "" then Dialog.Message("Hata", "Dosya adı boş bırakılamaz", MB_OK, MB_ICONINFORMATION, MB_DEFBUTTON1); end until dosyaadi ~= ""; Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.