Página 1 de 1

How to Click buton To Open (ini) File in listbox

Publicado: 03 Oct 2011 13:36
por bumbo
How to Click buton To Open (ini) File in listbox.
Please help!


APZ http://www.megaupload.com/?d=17WRZBS0

Re: How to Click buton To Open (ini) File in listbox

Publicado: 03 Oct 2011 20:37
por bumbo
Please help???

Re: How to Click buton To Open (ini) File in listbox

Publicado: 04 Oct 2011 07:52
por rafaxplayer
Listbox? Use best one paragrapaph not? would look like this:

stext = TextFile.ReadToString("AutoPlay\\Docs\\exyu.ini");
stext = String.TrimRight(stext, nil);
Paragraph.SetText("Paragraph1", stext);
If you want to use the listbox:
local stext = TextFile.ReadToString("AutoPlay\\Docs\\exyu.ini");
 if stext ~= "" then
         stext = String.TrimRight(stext, nil);
	local ttext = String.DelimitedToTable(stext, "\r");
		for x = 1, Table.Count(ttext) do
			ListBox.AddItem("ListBox1", ttext[x], "");
		end
end

Re: How to Click buton To Open (ini) File in listbox

Publicado: 04 Oct 2011 16:44
por abood1987
stext = TextFile.ReadToTable("AutoPlay\\Docs\\exyu.ini");
num = Table.Count(stext);
for t=1,num do
    ListBox.AddItem("ListBox1", stext[t], "");
end
[/color][/b]

Re: How to Click buton To Open (ini) File in listbox

Publicado: 05 Oct 2011 15:29
por bumbo
oooo thanx boys, i'm going to try

Re: How to Click buton To Open (ini) File in listbox

Publicado: 05 Oct 2011 18:09
por bumbo
Thank you for your answers.


Look at the Radio Player in a man-made ... now here I wanted to do in this kinda way your list that I opened with TV and radio buttons on a double click or selecting the order to broadcast the media player?

If you can APZ or script?

Thanks again ...


Re: How to Click buton To Open (ini) File in listbox

Publicado: 06 Oct 2011 00:24
por bumbo
rafaxplayer I would be grateful if you could help me

Re: How to Click buton To Open (ini) File in listbox

Publicado: 06 Oct 2011 03:49
por rafaxplayer
I'm sorry but I do not understand your question,the example does what you say.