PDA

View Full Version : FindNodeByText NoCase


Kick
03-22-2009, 05:51 PM
How to search for text in the object Tree ignoring the character case? :huh

boku
03-23-2009, 02:05 AM
based like this?


-- Search for the text
NodeFound = Tree.FindNodeByText("Tree1", "Some Item");

-- check if there was a result
if NodeFound == "" then
-- The node was not found
else
Tree.SetSelectedNode("Tree1", NodeFound);
end

Kick
03-23-2009, 05:25 AM
based like this?


-- Search for the text
NodeFound = Tree.FindNodeByText("Tree1", "Some Item");

-- check if there was a result
if NodeFound == "" then
-- The node was not found
else
Tree.SetSelectedNode("Tree1", NodeFound);
end

No. I need a text search not case-sensitive characters. A Tree.FindNodeByText searches case sensitive.