Jump to content

Input Dan Dosya Araması Yapma


kimtakar
 Share

Recommended Posts

üsdatlarım boyumu aşan bi projeya kafa patlatıyorum ama beceremedim projedede görüleceği gibi  docs klasörü içindeki dll dosyaları listeye geliyo yanlız dll dosyaları içinde arama yapamıyorum, bi kaç  projede mp3 listesi içerisinde arama yapılabilen inputlar buldum kodlarını düzenlemeye çalıştım ama pek anlamadığımdan ötürü başarısız oldum bu konuda yardımcı olurmusunuz

 

şimdiden emeğinize ve yüreğinize sağlık

 

proje apz:

http://www.mediafire.com/?ufai7a4srzurbav

 

birde kapsamlı bir eğitim seti nerden bulabilirim acaba?

Edited by kimtakar
Link to comment
Share on other sites

Arama Inputunun içindeki kodları şunlarla değiştirin:
 

kelime = Input.GetText(this)

ListBox.DeleteItem("ListBox1", -1)
tAra = File.Find(_SourceFolder .. "\\Autoplay\\Docs\\dll", "*.dll", false, false, nil, nil)
if tAra then
	for i,v in pairs(tAra) do
	tAyir = String.SplitPath(v)
		if String.Find(tAyir.Filename, kelime, 1, false) ~= -1 then
		ListBox.AddItem("ListBox1", tAyir.Filename .. tAyir.Extension, v)
		end
	end
end
Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...