Results 1 to 4 of 4

Thread: HELP - TreeView

  1. #1

    Default HELP - TreeView

    Hi.

    How I catch the string in the line that is selected in TreeView?


    Thanks.

  2. #2

    Default

    CL_TreeNode* node = _tree->get_current_item();

    if (!node)
    return;

    std::string s = reinterpret_cast<CL_TreeItem*>(node->get_component())->get_text(0);

  3. #3

    Default

    Thanks for the reply, but I made this and variavel "s" this catching memory garbage.

    What I can be making of wrong?


    Thanks.

  4. #4

    Default

    Problem solved!

    Thanks.

Bookmarks

Bookmarks

Posting Permissions

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