Jump to content

Listbox Ile Program Aramak


sakaci_79
 Share

Recommended Posts

Büyük ihtimal AIO yapıcaksın :D sonuçta bir listbox benzeri obje kullanıcaksın bu treelist olabilir bunları basit bir şekilde program adlarını iniye kaydettirebilirsin..

Gelelim aratma kısmına bu kısmı zaten @Kintaro hocamız yapmıştı...

Şuan meşgulüm.. eğer anlatığımı yapamazsan kısa zamanda örnek projeyi veririm ;)

 

-----

http://yadi.sk/d/SGMPXtTq8b9ku

Umarım işini görür :)

Edited by Kral__
Link to comment
Share on other sites

ListBox.DeleteItem("ListBox1",-1)


sKelime = Input.GetText(this)

if sKelime ~= "" then
tAra = File.Find(_SourceFolder .. "\\Programlar", "*.exe", false, false, nil, nil)
	if tAra then
		for i,v in pairs(tAra) do
		nAyir = String.SplitPath(v)

		nDosyaAdi = nAyir.Filename
		
		nAra = String.Find(nDosyaAdi, sKelime, 1, false);

			if nAra ~= -1 then
ListBox.AddItem("ListBox1",nDosyaAdi)
end

end

end


end

Bir klasörün içinde arama yapar ve listbox a ekler...

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...