thecrgrt Posted June 8, 2011 Posted June 8, 2011 I don't sure there are able to do. It was thrown an AV when I change it at runtime.
Administrators Farshad Mohajeri Posted June 8, 2011 Administrators Posted June 8, 2011 TUniTreeNode.Text can be changed at run time. You need to be the sure that it is a valid Node and it is not nil.
thecrgrt Posted June 8, 2011 Author Posted June 8, 2011 TUniTreeNode.Text can be changed at run time. You need to be the sure that it is a valid Node and it is not nil. For 0.85 there is no AV but thrown an AJAX error with message: O46.getNodeById("1") is undefined and the below information O46.getNodeById("0").setText("");O46.getNodeById("1").setText("/fslos/cif/personal/");O46.getNodeById("2").setText("/fslos/cif/juristic/");O46.getNodeById("3").setText("/fslos/setup/credit/");O46.getNodeById("4").setText("");O46.getNodeById("5").setText("/fslos/app/retail/");O46.getNodeById("6").setText("/fslos/app/fleet/");O46.getNodeById("7").setText("/fslos/app/listing/");O46.getNodeById("8").setText("");O46.getNodeById("9").setText("/fslos/approve/retail/");O46.getNodeById("10").setText("/fslos/approve/fleet/");O46.getNodeById("11").setText("/fslos/ins/inform/");O46.getNodeById("12").setText("/fslos/payment/po/");O46.getNodeById("13").setText("/fslos/payment/prepare/");O46.getNodeById("14").setText("");O46.getNodeById("15").setText("/fslos/setup/product/");O46.getNodeById("16").setText("/fslos/setup/dealer/");O46.getNodeById("17").setText("/fslos/setup/campaign/");O46.getNodeById("18").setText("");O46.getNodeById("19").setText("/fslos/admin/tools/");O58.show();_ssz_(O58,1920,33);O6F.setPosition(1335,13);O73.setPosition(1495,13);O77.setPosition(1413,12);O7B.setPosition(1567,12);O7F.setPosition(1807,6);_ssz_(OB3,1920,963);OB3.setPosition(0,33);O83.show();_ssz_(O83,1920,41);O83.setPosition(0,955);O96.setPosition(1807,6);_ssz_(OB3,1920,922);O46.show();_ssz_(O46,232,922);_ssz_(OB3,1688,922);OB3.setPosition(232,33);O28.show();_ssz_(O28,4,922);_ssz_(OB3,1684,922);OB3.setPosition(236,33);O46.expandAll();O77.setText("USER01",true);O7B.setText("User System Test",true);OD2.close();try{_d_(O111)}catch(e){};try{_d_(O10D)}catch(e){};try{_d_(OF6)}catch(e){};try{_d_(OF2)}catch(e){};try{_d_(OEE)}catch(e){};try{_d_(OEA)}catch(e){};try{_d_(OE6)}catch(e){};try{_d_(OE2)}catch(e){};document.cookie="userid=user01; path=/; expires=Wed, 08-Jun-2011 06:58:36 GMT";document.cookie="userpwd=user01; path=/; expires=Wed, 08-Jun-2011 06:58:36 GMT";document.cookie="isrunable=y; path=/; expires=Wed, 08-Jun-2011 06:58:36 GMT";
thecrgrt Posted June 8, 2011 Author Posted June 8, 2011 OK, I've found the problem. The text property cannot be set when UniTreeView is invisble. (by using UniTreeView.Visible = False)
Administrators Farshad Mohajeri Posted June 8, 2011 Administrators Posted June 8, 2011 OK. Is this a Node which isn't visible yet? This problem is known. A Node must be rendered once before its text can be change. I log an issue for it:#1027
Recommended Posts