Revision history [back]

click to hide/show revision 1
initial version

asked 2014-09-04 03:51:01 +0800

thangpro gravatar image thangpro

Error popup with long text

i have problem with popup with long text, when i scroll down the popup, the end of that long text is mix with component behind popup

` Popup popup = new Popup(); popup.setWidth("500px"); popup.setHeight((getHeight() / 2) + "px"); popup.setStyle("overflow:scroll;"); String str = ""; if (ketqua.size() == 0) { str = "Nothing wrong"; } else { for (int i = 0; i < ketqua.size(); i++) { str = str + ketqua.get(i).getTaikhoan() + "
" + ketqua.get(i).getThongbao() + "
";

        }
    }
    Html html = new Html(str);
    html.setParent(popup);
    popup.setParent(fmisTab_NhapSDDN);
    popup.open(c, "overlap");`

Can someone help me ? sorry for my bad english

Error popup with long text

i have problem with popup with long text, when i scroll down the popup, the end of that long text is mix with component behind popup

`
Popup popup = new Popup();
        popup.setWidth("500px");
        popup.setHeight((getHeight() / 2) + "px");
        popup.setStyle("overflow:scroll;");
        String str = "";
        if (ketqua.size() == 0) {
            str = "Nothing wrong";
        } else {
            for (int i = 0; i < ketqua.size(); i++) {
                str = str + ketqua.get(i).getTaikhoan() + "
"
"<br />" + ketqua.get(i).getThongbao() + "
";

"<br />";

            }
     }
     Html html = new Html(str);
     html.setParent(popup);
     popup.setParent(fmisTab_NhapSDDN);
     popup.open(c, "overlap");`

Can someone help me ? sorry for my bad english

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More