I have this code to find some programs in one dir and populate a combo box, for later select one from the many. But its not working
ficheiro = File.Find("AutoPlay\\acao", "*.exe", false, false, nil);
ComboBox.SetUpdate("Caixa de seleccao", false);
for i = ficheiro do
ComboBox.AddItem("Caixa de seleccao", "Jogo "..i, i);
end
ComboBox.SetUpdate("Caixa de seleccao", true);
If you coulf help me
One more think the programs are .exe its possible to hide the .exe on the combo box?
Thanks
Carlos
ficheiro = File.Find("AutoPlay\\acao", "*.exe", false, false, nil);
ComboBox.SetUpdate("Caixa de seleccao", false);
for i = ficheiro do
ComboBox.AddItem("Caixa de seleccao", "Jogo "..i, i);
end
ComboBox.SetUpdate("Caixa de seleccao", true);
If you coulf help me
One more think the programs are .exe its possible to hide the .exe on the combo box?
Thanks
Carlos