Jump to content

Checkbox Seçilmeyince Hata Vermesi


Tncte
 Share

Recommended Posts

Arkadaşlar Checkbox seçilmeden butona tıklayınca devam ediyor checkbox tıklanmadığında mesaj versin istiyorum bunu nasıl yaparım önceden konu açmışlardı yalnız  o ınpur içindi ve checbox için uyarlıyamadım. Şimdiden Teşekkürler

Link to comment
Share on other sites

İstersen mesaj yerine butonu aktif-pasifte ayarlayabilirsin

 

Checkbox'un OnClik evresine

 

sSec = CheckBox.GetChecked("CheckBox1");

if sSec == true then 

Button.SetEnabled("Button1", true);

else

Button.SetEnabled("Button1", false);

end

 

 

Yok illa uyarı versin diyorsan butonun OnClik evresine

 

sSec = CheckBox.GetChecked("CheckBox1");

if sSec == true then 

Dialog.Message("Notice", "checkbox seçili şuan kafana göre takıl", MB_OK, MB_ICONINFORMATION, MB_DEFBUTTON1);

else

Dialog.Message("Notice", "önce checkboxu seçip öyle devam edin", MB_OK, MB_ICONINFORMATION, MB_DEFBUTTON1);

end
Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...