Indigo Rose Software

Professional Software Development Tools

 
+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Join Date
    Sep 2008
    Posts
    14

    Grin FindNodeByText NoCase

    How to search for text in the object Tree ignoring the character case?

  2. #2
    Join Date
    Mar 2009
    Location
    -31.9554,115.85859
    Posts
    282
    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

  3. #3
    Join Date
    Sep 2008
    Posts
    14
    Quote 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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts