gaffurtr Posted February 2, 2012 Share Posted February 2, 2012 (edited) Edited September 4, 2014 by gaffurtr Quote Link to comment Share on other sites More sharing options...
gaffurtr Posted February 2, 2012 Author Share Posted February 2, 2012 (edited) Arkadaşalr yardım edecek kimse yokmu Edited February 2, 2012 by gaffurtr Quote Link to comment Share on other sites More sharing options...
gaffurtr Posted February 2, 2012 Author Share Posted February 2, 2012 Ya gene uyarı alacam ama napıyım kimse cevap yazmadı yardım pls Quote Link to comment Share on other sites More sharing options...
nightmare3519 Posted February 2, 2012 Share Posted February 2, 2012 (edited) bak en baştan söyleyim acemiyim yanlış söylüyo olabilirm [b]sAra[/b] = Tree.FindNodeByText("Tree1", "0", "Index 1"); [b]sVeri[/b] = Input.GetText("Input1"); birde globale Functions mu yazılıyor ben mi yanlış biliyorum? Functions ---> [color="#0000FF"]function[/color] buralarda olabilirmi? Edited February 2, 2012 by nightmare3519 Quote Link to comment Share on other sites More sharing options...
gaffurtr Posted February 2, 2012 Author Share Posted February 2, 2012 Kardeş bilmiyom bnde daha yeniyim Quote Link to comment Share on other sites More sharing options...
NotToday Posted February 2, 2012 Share Posted February 2, 2012 [color="#0000FF"]function[/color] yazılıyor Quote Link to comment Share on other sites More sharing options...
gaffurtr Posted February 2, 2012 Author Share Posted February 2, 2012 Onu biliyom konu hakkında yardımcı olacak yokmu? Quote Link to comment Share on other sites More sharing options...
nightmare3519 Posted February 2, 2012 Share Posted February 2, 2012 şimdi birde [color="#0000FF"]function[/color] ara() yazmışsında onun altına kodları yazmamışsın yada yazdın buraya koymadın Quote Link to comment Share on other sites More sharing options...
gaffurtr Posted February 2, 2012 Author Share Posted February 2, 2012 Ya hayır bak şimdi olay şu globale ara fonksiyonu adında bi string atadım.Sonra ınputun on key evresinede bunu atadım.Daha sonra treenin içinede tblkodu belirttim.Şimdi anladınmı?Gerçi bende nerde hata yaptıjm bi anlasam Quote Link to comment Share on other sites More sharing options...
KintaRo Posted February 2, 2012 Share Posted February 2, 2012 [quote]- Item 1 -- ali -- veli -- mehmet -- osman[/quote] görünümünde bir Tree nesnemiz var diyelim. [b]Global Functions:[/b] [codebox]function ara(tree, input) sMetin = Input.GetText(input) if sMetin ~= "" then nCount = Tree.GetChildCount(tree, "1") for i=1,nCount do sAra = Tree.FindNodeByText("Tree1", i, sMetin) if sAra ~= "" then Tree.SetSelectedNode("Tree1", sAra) end end end end [/codebox] [b]Input On Key:[/b] [code]ara("Tree1", this)[/code] Bu şekilde bir çalışma hazırladığımız zaman inputa yazdığımız değeri Tree'de bulduğunda, o satırı seçili hale getirecektir. Ayrıca gaffurtr flood yaptığı için uyarı aldı. 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.