korasoglu Posted April 30, 2011 Share Posted April 30, 2011 Hocam bir döngü kurarak paragraph1 tıkladığım zaman inputa değerleri aktarmak istiyorum. Paragraph On Clike xButton.SetVisible("duzelt", true); xButton.SetVisible("yukle", false); aa = INIFile.GetValue("AutoPlay\\Docs\\1\\exe.ini", "exe", "1"); bb = INIFile.GetValue("AutoPlay\\Docs\\1\\aciklama.ini", "aciklama", "1"); if aa == "" then else INIFile.SetValue("AutoPlay\\Docs\\1\\duzelt.ini", "duzelt", "1", aa); cc = INIFile.GetValue("AutoPlay\\Docs\\1\\exe.ini", "exe", "1"); result = Input.SetText("Input1", aa); bb = INIFile.GetValue("AutoPlay\\Docs\\1\\aciklama.ini", "aciklama", "1"); result = Input.SetText("Input2", bb); end yaptım sorun yok çalışıyor iş görüyor buna bir döngü kursak On Show for i=1,20 do aa = INIFile.GetValue("AutoPlay\\Docs\\1\\exe.ini", "exe", i); bb = INIFile.GetValue("AutoPlay\\Docs\\1\\aciklama.ini", "aciklama", i); if aa ~= "" then INIFile.SetValue("AutoPlay\\Docs\\1\\duzelt.ini", "duzelt", i, aa); ss = INIFile.GetValue("AutoPlay\\Docs\\1\\exe.ini", "exe", i); result = Input.SetText("Input1", ss); bb = INIFile.GetValue("AutoPlay\\Docs\\1\\aciklama.ini", "aciklama", i); result = Input.SetText("Input2", isa2); xButton.SetVisible("duzelt", true); xButton.SetVisible("yukle", false); else end end yaptım kanaatimce Paragraph nesnesine tıklayınca şunları yap diyemedim sonuç C1...2 adında devam eden Paragraphlara tıklayınca değeri inputta göstersin başka bir şey istemem yardımlarınızı bekliyorum saygılarımla... Quote Link to comment Share on other sites More sharing options...
pilgetir Posted May 1, 2011 Share Posted May 1, 2011 [font="Georgia"]Yazdıklarından anladığım kadarıyla bi örnek yaptım umarım işine yarar.[/font] http://hotfile.com/dl/116365726/22cb2b7/My_Project1.apz.html Quote Link to comment Share on other sites More sharing options...
korasoglu Posted May 1, 2011 Author Share Posted May 1, 2011 sevgili pilgetir yardımından dolayı teşekkür ederim ama demekki anlatamamışım. yukarıda zaten benim verdiğim kod bu işi yapıyor ben sayfanın On Show bir döngü kurup 4 satırda 20 tane Paragraph görev yaptırmak istiyorum. senin verdiğin değeri Pragraptan değil On Showdan Döngüden Almasını istiyorum. Quote Link to comment Share on other sites More sharing options...
KintaRo Posted May 1, 2011 Share Posted May 1, 2011 valla ben yardımcı olmak isterdim ama tam olarak olayı anlayamadım Quote Link to comment Share on other sites More sharing options...
korasoglu Posted May 1, 2011 Author Share Posted May 1, 2011 hocam Pragrafhtaki kodları sayfa On Shawa Döngü olarak nasıl uyarlarız yani her Pragraph tek tek veri girişi yapıncıya kadar toptan yapılsa. http://www.dosya.tc/indir/f5mDyx/deneme.rar.html Quote Link to comment Share on other sites More sharing options...
pilgetir Posted May 1, 2011 Share Posted May 1, 2011 sen fonksiyondan bahsediyorsun Global Function bölümüne gir kodları oraya kopyala tabi fonksiyon olarak sonrada paragraflardan fonksiyonu çağırırsın. 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.