korasoglu Posted April 18, 2013 Share Posted April 18, 2013 Arkadaşlar arama özelliği olan combobox gördüğümü hatırlıyorum böyle bir plugin varsa aynı zamanda bir örnekle paylaşırsanız çok sevinirim. Quote Link to comment Share on other sites More sharing options...
Editor pairs Posted April 18, 2013 Editor Share Posted April 18, 2013 Hocam valla baktımda pluginlere.İstedğiniz şey combobox ın kendi içindemi arıyordu yoksa ek bi kutucuga yazılanımı arıyordu. Quote Link to comment Share on other sites More sharing options...
korasoglu Posted April 18, 2013 Author Share Posted April 18, 2013 (edited) Şöyle düşün Comboda Kuranı kerimin tüm sürelerinin adi item olarak yüklü data olarak ta ayet sayısı yüklü. Kullanıcı atıyorum yasın yazdımı combada onu arayacak. Veya önerin nedir onuda söyle değerlendirelim. Şu konudada yarcımcı olursanız sevinirim. sure = ComboBox.GetSelected("ComboBox1"); sureismi = ComboBox.GetItemText("ComboBox1", sure); ayet = ComboBox.GetSelected("ComboBox2"); ayetoku = ComboBox.GetItemText("ComboBox2", ayet); ListBox.DeleteItem("ListBox1", -1); ara = _SourceFolder .. "\\AutoPlay\\Hatim" .. "\\" .. sureismi; tblFiles = File.Find(ara , "*.mp3", true, false, nil, nil); if tblFiles then tListe = {} for i,v in pairs (tblFiles) do local tblSplit = String.SplitPath(v) ListBox.AddItem("ListBox1", tblSplit.Filename, v); Table.Insert(tListe, Table.Count(tListe)+1, v) end end Burda seçtiğim item hangisi ise Listboxtada onu seçmesini istiyorum çünkü seçilince o ayet okumaya başlıyacak. Benim için ComboBox ta seçilen satır ne ise listBoxtada o seçilsin yeterli Edited April 18, 2013 by korasoglu 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.