Página 1 de 1

ListBoxEx Adicionar ícone Assoc APZ

Publicado: 20 Sep 2018 21:24
por hdd.utilities
ListBoxEx Adicionar ícone Assoc APZ Exemplo
HIDE: ON
Hidebb Message Hidden Description




Imagen

strSourceFile = "C:\\Users";
tbSearchFiles = {"*"};
for index,type in pairs (tbSearchFiles) do
file = File.Find(strSourceFile, type, true, false, nil);    
if file ~= nil and file ~="CANCEL" then
for j,file_path in pairs (file) do
idIcon = ListBoxEx.AddAssocIcon("Plugin1", LBXASSOC_SMALLICON, file_path);
tbFilePath = String.SplitPath(file_path);
sFile = "<p><font color=#0000A0 face='verdana' size=3>"..tbFilePath.Filename..tbFilePath.Extension.."</font></p>";
ListBoxEx.AddItem("Plugin1", sFile, file_path, file_path, "", idIcon, LBXITEM_HTML, 0, x, nil, nil);
end
end
end

Re: ListBoxEx Adicionar ícone Assoc APZ

Publicado: 20 Sep 2018 21:30
por luasqlite
Obrgado

Re: ListBoxEx Adicionar ícone Assoc APZ

Publicado: 22 Sep 2018 15:26
por sendai
thank you

Re: ListBoxEx Adicionar ícone Assoc APZ

Publicado: 22 Sep 2018 19:11
por aeeder6
thnlsssssssssssssssssssssss

Re: ListBoxEx Adicionar ícone Assoc APZ

Publicado: 03 May 2019 06:22
por RolandoLT
Gracias...

Re: ListBoxEx Adicionar ícone Assoc APZ

Publicado: 19 Jul 2019 18:14
por samirmax
THANKSSS

Re: ListBoxEx Adicionar ícone Assoc APZ

Publicado: 18 Sep 2021 12:07
por Y2K38
:feelsgoodman-1417755815: :ilied-1417752608:

Re: ListBoxEx Adicionar ícone Assoc APZ

Publicado: 02 May 2022 05:10
por UserAMS
hdd.utilities escribió:
20 Sep 2018 21:24
ListBoxEx Adicionar ícone Assoc APZ Exemplo
{{This message has been hidden}}




Imagen

strSourceFile = "C:\\Users";
tbSearchFiles = {"*"};
for index,type in pairs (tbSearchFiles) do
file = File.Find(strSourceFile, type, true, false, nil);    
if file ~= nil and file ~="CANCEL" then
for j,file_path in pairs (file) do
idIcon = ListBoxEx.AddAssocIcon("Plugin1", LBXASSOC_SMALLICON, file_path);
tbFilePath = String.SplitPath(file_path);
sFile = "<p><font color=#0000A0 face='verdana' size=3>"..tbFilePath.Filename..tbFilePath.Extension.."</font></p>";
ListBoxEx.AddItem("Plugin1", sFile, file_path, file_path, "", idIcon, LBXITEM_HTML, 0, x, nil, nil);
end
end
end