From professional translators, enterprises, web pages and freely available translation repositories.
there is only findcol(int id).
there is only findcol(int id).
Last Update: 2018-02-13
Usage Frequency: 1
Quality:
gui_app_main { treectrl tree; tree.multiselect(true); topwindow wnd; wnd.add(tree.sizepos()); int id = tree.add(0, treectrl::node("node1")); tree.selectone(id, true); assert(tree.getsel()[0] == id); //tree.selectone(id, false);//if comment => removed node stay selected and assertion in (*) failed //tree.clearselection();//solution: clearselection must be added to the top of remove method tree.remove(id); tree.add(0, treectrl::node("node2")); id = tree.add(0, treectrl::node("node3")); tree.selectone(id, true); assert(tree.getsel()[0] == id);//(*) wnd.run(); }
gui_app_main { treectrl tree; tree.multiselect(true); topwindow wnd; wnd.add(tree.sizepos()); int id = tree.add(0, treectrl::node("node1")); tree.selectone(id, true); assert(tree.getsel()[0] == id); //tree.selectone(id, false);//if comment => removed node stay selected and assertion in (*) failed //tree.clearselection();//solution: clearselection must be added to the top of remove method tree.remove(id); tree.add(0, treectrl::node("node2")); id = tree.add(0, treectrl::node("node3")); tree.selectone(id, true); assert(tree.getsel()[0] == id);//(*) wnd.run(); }
Last Update: 2018-02-13
Usage Frequency: 1
Quality:
Warning: Contains invisible HTML formatting