Wmaster Posted October 6, 2011 Share Posted October 6, 2011 Merhabalar, Kendim için APM ile hazırladığım bir çalışmanın girişine şifre koydum. şifreyi yazıp giriş tuşuna mouse ile basınca AIO açılıyor. Ancak kolaylık olsun diye ben giriş tuşuna mouse ile basmayıp klavyeden enter tuşuna basınca giriş butonunun çalışmasını istiyorum. Bu konuda yardımlarınızı beklerim. Şimdiden teşekkürler.. Quote Link to comment Share on other sites More sharing options...
KintaRo Posted October 6, 2011 Share Posted October 6, 2011 şifreyi yazdığınız Input nesnesinin On Key Evresine; if e_Key == 13 then Page.ClickObject("Button_İsmi") end yazın. Quote Link to comment Share on other sites More sharing options...
tmraslan Posted October 7, 2011 Share Posted October 7, 2011 Peki sayın KintaRo Input 4 karakter yazıkca input 2 ye imleci nasıl geçirebilirim Quote Link to comment Share on other sites More sharing options...
KintaRo Posted October 7, 2011 Share Posted October 7, 2011 Input On Key Evresine: [quote]if #Input.GetText(this) == 4 then Page.SetFocus("Input2") end[/quote] Quote Link to comment Share on other sites More sharing options...
tmraslan Posted October 7, 2011 Share Posted October 7, 2011 Olmadı Quote Link to comment Share on other sites More sharing options...
KintaRo Posted October 7, 2011 Share Posted October 7, 2011 apzni paylaşırsan yardımcı oluruz Quote Link to comment Share on other sites More sharing options...
Wmaster Posted October 7, 2011 Author Share Posted October 7, 2011 [quote name='KintaRo' date='06 October 2011 - 22:52 ' timestamp='1317934358' post='1090676'] şifreyi yazdığınız Input nesnesinin On Key Evresine; if e_Key == 13 then Page.ClickObject("Button_İsmi") end yazın. [/quote] KintaRo, teşekkür ederim. Apz dosyam yanımda değil, akşam dener bilgi veririm. Quote Link to comment Share on other sites More sharing options...
tmraslan Posted October 7, 2011 Share Posted October 7, 2011 (edited) http://www.mediafire.com/?rehn7017wix27 Edited October 7, 2011 by tmraslan Quote Link to comment Share on other sites More sharing options...
KintaRo Posted October 7, 2011 Share Posted October 7, 2011 tmraslan; olmuş ? Quote Link to comment Share on other sites More sharing options...
tmraslan Posted October 7, 2011 Share Posted October 7, 2011 Hocam apzyi paylaş bana dediniz sandım.Bu arada aramıza hoş geldiniz hocam.Benim iş olmadı Quote Link to comment Share on other sites More sharing options...
KintaRo Posted October 7, 2011 Share Posted October 7, 2011 saolasın, hangi iş olmadı? verdiğin apz de inputlar arası geçiş çalışıyor? Quote Link to comment Share on other sites More sharing options...
tmraslan Posted October 7, 2011 Share Posted October 7, 2011 Hocam dikkat etmemişim sayfada çalışıyorama dialoğa aktarınca aynı düzeni çalışmadı Quote Link to comment Share on other sites More sharing options...
KintaRo Posted October 7, 2011 Share Posted October 7, 2011 Dialog'ta Page.SetFocus() yerine DialogEx.SetFocus() kullanmalısınız. Quote Link to comment Share on other sites More sharing options...
tmraslan Posted October 7, 2011 Share Posted October 7, 2011 Hocam çok sağolun. Quote Link to comment Share on other sites More sharing options...
Wmaster Posted October 7, 2011 Author Share Posted October 7, 2011 Hocam proje çalıştığında input boxta imlecin otomatik gelmesini nasıl sağlarım acaba.. Quote Link to comment Share on other sites More sharing options...
KintaRo Posted October 7, 2011 Share Posted October 7, 2011 sayfanın On Show evresine; [code]Page.SetFocus("Input_İsmi")[/code] yazın. Quote Link to comment Share on other sites More sharing options...
Wmaster Posted October 7, 2011 Author Share Posted October 7, 2011 Hocam Allah razı olsun, hallettim çok sağolasın. Quote Link to comment Share on other sites More sharing options...
NotToday Posted October 8, 2011 Share Posted October 8, 2011 Peki hocam yukardaki kodlardan yararlandım fakat sın ınputa 4 karekterden fazla yazması nasıl engelleyebiliriz? Quote Link to comment Share on other sites More sharing options...
KintaRo Posted October 8, 2011 Share Posted October 8, 2011 aşağıdaki resimde görüldüğü gibi input mask kullanabilirsiniz. ordaki ???? karakterleri 4 adet a-z yada A-Z arası karakter girebilirsiniz demek. Sayı için ise #### kullanın. [img]http://i.imgur.com/N46mS.png[/img] Quote Link to comment Share on other sites More sharing options...
NotToday Posted October 8, 2011 Share Posted October 8, 2011 harikasınız hocam.İnce ayrıntılar faklılık katar mantığıyla ufak ayrıntıları atlamak istemedim 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.