FindNodeByText NoCase

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • Kick
    New Member
    • Sep 2008
    • 14

    FindNodeByText NoCase

    How to search for text in the object Tree ignoring the character case?
  • boku
    Indigo Rose Customer
    • Mar 2009
    • 283

    #2
    based like this?

    Code:
    -- 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
    - BoKu -

    Comment

    • Kick
      New Member
      • Sep 2008
      • 14

      #3
      Originally posted by boku View Post
      based like this?

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

      Comment

      Working...
      X