muratboy31 Posted September 23, 2013 Share Posted September 23, 2013 Merhaba arkadaşlar, bu kod neden çalışmıyor olabilir ? yapmak istediğim eğer Input boş işe dialog aç değilse xbutton a click yap... ama boş olduğu halde click yapıyor... Input On Key Event : if e_Key==13 then if String.Length(Input.GetText(this)) == 0 then Dialog.Message("Hata", "Metin alanı boş.", MB_OK, MB_ICONINFORMATION, MB_DEFBUTTON1); else Page.ClickObject("xButton1"); end end Quote Link to comment Share on other sites More sharing options...
KintaRo Posted September 23, 2013 Share Posted September 23, 2013 bu kodlarda sorun yok, xButton1'in kodları nedir? Quote Link to comment Share on other sites More sharing options...
muratboy31 Posted September 23, 2013 Author Share Posted September 23, 2013 xbutton a tıklayarak yaptığımda çalışıyor ama inputtan enter ile yaptığımda boş bile olsa çalışmıyor if String.Length(Input.GetText("mesaj")) == 0 then --- işlem yapma else --- işlem yap end Quote Link to comment Share on other sites More sharing options...
KintaRo Posted September 23, 2013 Share Posted September 23, 2013 valla kodların dogru, xbutton'un nesne ismini kontrol et, xButton1 olmayabilir. Quote Link to comment Share on other sites More sharing options...
Editor pairs Posted September 23, 2013 Editor Share Posted September 23, 2013 KOd çalışıyor sıkıntı yokki. 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.