Jump to content

Tree Döngü Hatası


gaffurtr
 Share

Recommended Posts

bak en baştan söyleyim acemiyim yanlış söylüyo olabilirm :D

[b]sAra[/b] = Tree.FindNodeByText("Tree1", "0", "Index 1");

[b]sVeri[/b] = Input.GetText("Input1");

birde globale

Functions mu yazılıyor ben mi yanlış biliyorum?

Functions ---> [color="#0000FF"]function[/color]

buralarda olabilirmi?

Edited by nightmare3519
Link to comment
Share on other sites

[quote]- Item 1
-- ali
-- veli
-- mehmet
-- osman[/quote]

görünümünde bir Tree nesnemiz var diyelim.

[b]Global Functions:[/b]

[codebox]function ara(tree, input)
sMetin = Input.GetText(input)
if sMetin ~= "" then
nCount = Tree.GetChildCount(tree, "1")
for i=1,nCount do
sAra = Tree.FindNodeByText("Tree1", i, sMetin)
if sAra ~= "" then
Tree.SetSelectedNode("Tree1", sAra)
end
end
end
end
[/codebox]

[b]Input On Key:[/b]

[code]ara("Tree1", this)[/code]

Bu şekilde bir çalışma hazırladığımız zaman inputa yazdığımız değeri Tree'de bulduğunda, o satırı seçili hale getirecektir.

Ayrıca gaffurtr flood yaptığı için uyarı aldı.

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