De traductores profesionales, empresas, páginas web y repositorios de traducción de libre uso.
there is only findcol(int id).
there is only findcol(int id).
Última actualización: 2018-02-13
Frecuencia de uso: 1
Calidad:
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(); }
Última actualización: 2018-02-13
Frecuencia de uso: 1
Calidad:
Advertencia: contiene formato HTML invisible