Jump to content

Paragraph Tan Inputa Veri Aktarma


korasoglu
 Share

Recommended Posts

Hocam bir döngü kurarak paragraph1 tıkladığım zaman inputa değerleri aktarmak istiyorum.
Paragraph On Clike
xButton.SetVisible("duzelt", true);
xButton.SetVisible("yukle", false);
aa = INIFile.GetValue("AutoPlay\\Docs\\1\\exe.ini", "exe", "1");
bb = INIFile.GetValue("AutoPlay\\Docs\\1\\aciklama.ini", "aciklama", "1");
if aa == "" then
else
INIFile.SetValue("AutoPlay\\Docs\\1\\duzelt.ini", "duzelt", "1", aa);
cc = INIFile.GetValue("AutoPlay\\Docs\\1\\exe.ini", "exe", "1");
result = Input.SetText("Input1", aa);
bb = INIFile.GetValue("AutoPlay\\Docs\\1\\aciklama.ini", "aciklama", "1");
result = Input.SetText("Input2", bb);
end

yaptım sorun yok çalışıyor iş görüyor buna bir döngü kursak

On Show

for i=1,20 do

aa = INIFile.GetValue("AutoPlay\\Docs\\1\\exe.ini", "exe", i);
bb = INIFile.GetValue("AutoPlay\\Docs\\1\\aciklama.ini", "aciklama", i);
if aa ~= "" then
INIFile.SetValue("AutoPlay\\Docs\\1\\duzelt.ini", "duzelt", i, aa);
ss = INIFile.GetValue("AutoPlay\\Docs\\1\\exe.ini", "exe", i);
result = Input.SetText("Input1", ss);
bb = INIFile.GetValue("AutoPlay\\Docs\\1\\aciklama.ini", "aciklama", i);
result = Input.SetText("Input2", isa2);
xButton.SetVisible("duzelt", true);
xButton.SetVisible("yukle", false);
else
end
end

yaptım kanaatimce Paragraph nesnesine tıklayınca şunları yap diyemedim

sonuç C1...2 adında devam eden Paragraphlara tıklayınca değeri inputta göstersin başka bir şey istemem yardımlarınızı bekliyorum saygılarımla...
Link to comment
Share on other sites

sevgili pilgetir yardımından dolayı teşekkür ederim ama demekki anlatamamışım.
yukarıda zaten benim verdiğim kod bu işi yapıyor ben sayfanın On Show bir döngü kurup 4 satırda 20 tane Paragraph görev yaptırmak istiyorum.
senin verdiğin değeri Pragraptan değil On Showdan Döngüden Almasını istiyorum.

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