Tncte Posted February 24, 2013 Share Posted February 24, 2013 Merhaba Arkadaşlar.. Bir Aio Yapıyorum Program Arama Bölümü Yaptım Daha Sonra Inputtaki yazıyı kolaylıkla silinmesi için bir kod yazdım oldu ama kendimi daha iyi geliştirmek amacıyla soruyorum aşağıdaki kodu yazdım bunun daha kısa yapabilirmiyiz yani ınputtaki yazıyı daha kısa kodla sildire bilirmiyiz ? Yazdığım Kod: On Preload Kısmnına: function sil() input = nil; Input.SetText("Input1", ""); end Inputtaki Yazıyı Silme Butonuna: sil() Quote Link to comment Share on other sites More sharing options...
prototype Posted February 24, 2013 Share Posted February 24, 2013 İnputtaki yazıyı sil butonuna aşağıdaki kodu koyman yeterli değil mi? Input.SetText("Input1", ""); Quote Link to comment Share on other sites More sharing options...
Tncte Posted February 24, 2013 Author Share Posted February 24, 2013 Konu Biraz Saçma Oldu ama prototype teşekkürler .. bu oluyor.. :D Quote Link to comment Share on other sites More sharing options...
nightmare3519 Posted February 25, 2013 Share Posted February 25, 2013 (edited) On Focus bölümüne Input.SetText("Input1", ""); Bu kod yazarsan inputa fare tıklandığı anda inputtaki yazıyı siler. Edited February 25, 2013 by nightmare3519 Quote Link to comment Share on other sites More sharing options...
Tncte Posted February 25, 2013 Author Share Posted February 25, 2013 e! o zaman yazı yazı yazamaz ki :) Quote Link to comment Share on other sites More sharing options...
nightmare3519 Posted February 25, 2013 Share Posted February 25, 2013 (edited) e! o zaman yazı yazı yazamaz ki :) Denedinmi? Fare tıklanınca diyorum yazı yazarken silinmezki. Edited February 25, 2013 by nightmare3519 Quote Link to comment Share on other sites More sharing options...
WolfmanTR_ Posted February 25, 2013 Share Posted February 25, 2013 (edited) e! o zaman yazı yazı yazamaz ki :) :facepalmx: Edited February 25, 2013 by wolfman.tr_ 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.